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

From: David Ahern
Date: Wed Sep 04 2013 - 17:46:08 EST


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 associated with
is immaterial.

Signed-off-by: Adrian Hunter <adrian.hunter@xxxxxxxxx>

Fixes the regression. Thanks for the fix.

Tested-and-Acked-by: David Ahern <dsahern@xxxxxxxxx>

Arnaldo: this needs to go in perf/urgent and pushed into 3.12.

David
--
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/