diff options
author | Namhyung Kim <[email protected]> | 2013-03-11 16:43:13 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2013-03-15 13:06:02 -0300 |
commit | 85397956de304106e2fdace2db8f69ab4e966bc5 (patch) | |
tree | b7cd69a5931554edb6567054a5f335be75efbd79 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 334fe7a3c63624eb1bba42f81eb088d5665d9f3e (diff) |
perf evlist: Use cpu_map__nr() helper
Use the cpu_map__nr() helper to protect a possible NULL cpu map
dereference.
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/Util.py')
0 files changed, 0 insertions, 0 deletions