On 6/25/13 10:03 AM, Stephane Eranian wrote:
Stephane: are you looking at allowing sample_types per event?
>
Yes, this is what I need. I have a kernel patch to do this. I don't
know how to update perf to handle it correctly. So maybe you can
help. My patch is useful to drastically reduce the size of the perf.data
file in case we use the branch-stack with lots of events which is
what our Gooda tool would like to do.

Refreshing my memory on the root problem here. It's a chicken-and-egg problem: we need the id in the sample to find the event (evsel) that generated it (perf_evlist__id2evsel). To get the id we need the sample_type to parse it and we want the sample_type to be per event.

As I recall this is where the conversation turns to per-event data files...

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

Reply via email to