diff options
author | 2013-03-11 16:43:13 +0900 | |
---|---|---|
committer | 2013-03-15 13:06:02 -0300 | |
commit | 85397956de304106e2fdace2db8f69ab4e966bc5 (patch) | |
tree | b7cd69a5931554edb6567054a5f335be75efbd79 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf evlist: Remove cpus and threads arguments from perf_evlist__new() (diff) | |
download | linux-dev-85397956de304106e2fdace2db8f69ab4e966bc5.tar.xz linux-dev-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 <namhyung@kernel.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1362987798-24969-2-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions