aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2013-03-11 07:43:13 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-03-15 16:06:02 +0000
commit85397956de304106e2fdace2db8f69ab4e966bc5 (patch)
treeb7cd69a5931554edb6567054a5f335be75efbd79 /tools/perf/ui/gtk/annotate.c
parentperf evlist: Remove cpus and threads arguments from perf_evlist__new() (diff)
downloadkernel-85397956de304106e2fdace2db8f69ab4e966bc5.tar.gz
kernel-85397956de304106e2fdace2db8f69ab4e966bc5.zip
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/ui/gtk/annotate.c')
0 files changed, 0 insertions, 0 deletions