diff options
author | Corey Ashford <[email protected]> | 2010-11-08 18:20:45 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-11-10 09:16:12 +0100 |
commit | 01797c599816d39dfea47864c0f90cd50845811f (patch) | |
tree | f1b137c6c26010ddd8d4c07e10f087df2a130b24 /tools/perf/scripts/python/bin/syscall-counts-by-pid-record | |
parent | a3da8e451321c31d88cebd12c234d0aac2a1cc35 (diff) |
perf: Fix usages of profile_cpu in builtin-top.c to use cpu_list
profile_cpu was left over from an earlier implementation that
supported running perf top on a single CPU. profile_cpu was no
longer set by any switch and usages of it resulted in dead code.
Instead, convert the code to use cpu_list, which is set by the
-C <cpu_list> option.
Also improved the printing of nr_cpus and cpu_list by correcting
the plurals.
Signed-off-by: Corey Ashford <[email protected]>
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/syscall-counts-by-pid-record')
0 files changed, 0 insertions, 0 deletions