Re: [PATCH 2/2] perf tools: fix parsing with no sample_id_all bit set

2013-09-04 Thread David Ahern
On 9/4/13 2:18 PM, Adrian Hunter wrote: The perf_evlist__event2evsel() is changed to handle non-sample events (such as mmap events) that have no id sample appended i.e. when sample_id_all is not set. Note that such events have a fixed format, so that the selected event (evsel) they are associate

[PATCH 2/2] perf tools: fix parsing with no sample_id_all bit set

2013-09-04 Thread Adrian Hunter
The perf_evlist__event2evsel() is changed to handle non-sample events (such as mmap events) that have no id sample appended i.e. when sample_id_all is not set. Note that such events have a fixed format, so that the selected event (evsel) they are associated with is immaterial. Signed-off-by: Adri