aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/annotate.c
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2013-03-11 07:43:14 +0000
committerArnaldo Carvalho de Melo <[email protected]>2013-03-15 16:06:02 +0000
commitb3a319d528fd57ef600731ee1b84d00b7204881d (patch)
treefadbcc4a692d5a4e841af9823c527eca7c5dc7dc /tools/perf/ui/gtk/annotate.c
parentperf evlist: Use cpu_map__nr() helper (diff)
downloadkernel-b3a319d528fd57ef600731ee1b84d00b7204881d.tar.gz
kernel-b3a319d528fd57ef600731ee1b84d00b7204881d.zip
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/ui/gtk/annotate.c')
0 files changed, 0 insertions, 0 deletions