Re: [PATCH 1/2] Use opaque record type in pevent accessor functions

From: Steven Rostedt
Date: Thu Dec 17 2009 - 10:52:20 EST


On Wed, 2009-12-16 at 16:34 -0800, Darren Hart wrote:
> >From 35c283e97c16525bbebae6f9937a1ccd0f3b8da9 Mon Sep 17 00:00:00 2001
> From: Darren Hart <dvhltc@xxxxxxxxxx>
> Date: Wed, 16 Dec 2009 15:40:31 -0800
> Subject: [PATCH 1/2] Use opaque record type in pevent accessor functions
>
> The caller of the pevent accessor functions:
>
> pevent_data_pid(pevent, data) for example
>
> Already have a struct record. Let them send that directly:
>
> pevent_data_pid(pevent, record)
>
> This decouples the API from the struct implementation and facilitates
> language bindings which use opaque pointers for passing the C structs
> around.
>
> Signed-off-by: Darren Hart <dvhltc@xxxxxxxxxx>

Applied, thanks!


-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/