Files
linux/tools/perf/util
Jiri Olsa 8e303f20f4 perf tools: Fix raw sample reading
Wrong pointer is being passed for raw data sanity checking, when parsing
sample event.

This ends up with invalid event and perf record being stuck in
__perf_session__process_events function during processing build IDs
(process_buildids function).

Following command hangs up in my setup:
	./perf record -e raw_syscalls:sys_enter ls

The fix is to use proper pointer to the raw data instead of the 'u'
union.

Reviewed-by: David Ahern <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2011-09-29 16:29:53 -03:00
..
…
2011-02-22 12:02:07 -03:00
2011-02-16 13:30:48 +01:00
…
2009-12-28 10:36:36 +01:00
2011-09-29 16:29:53 -03:00
…
2010-10-21 16:11:44 -02:00
…
2010-08-21 11:22:47 -03:00
2010-05-14 20:05:21 -03:00
…
2011-07-15 16:00:47 -04:00
…