Re: [PATCH V10 12/13] perf tools: add a function to calculate sampleevent size

From: Jiri Olsa
Date: Tue Aug 13 2013 - 14:22:52 EST


On Fri, Aug 09, 2013 at 01:51:58PM +0300, Adrian Hunter wrote:
> Add perf_event__sample_event_size() which can be used when
> synthesizing sample events to determine how big the resulting
> event will be, and therefore how much memory to allocate.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

PERF_SAMPLE_READ code updated..

Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx>
--
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/