diff options
| author | Namhyung Kim <[email protected]> | 2013-03-11 16:43:14 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-03-15 13:06:02 -0300 |
| commit | b3a319d528fd57ef600731ee1b84d00b7204881d (patch) | |
| tree | fadbcc4a692d5a4e841af9823c527eca7c5dc7dc /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 85397956de304106e2fdace2db8f69ab4e966bc5 (diff) | |
perf evlist: Add thread_map__nr() helper
Introduce and use the thread_map__nr() function to protect a possible
NULL pointer dereference and cleanup the code a bit.
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions