summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/perl/bin/rw-by-pid-record
diff options
context:
space:
mode:
authorCorey Ashford2010-11-09 03:20:45 +0100
committerIngo Molnar2010-11-10 09:16:12 +0100
commit01797c599816d39dfea47864c0f90cd50845811f (patch)
treef1b137c6c26010ddd8d4c07e10f087df2a130b24 /tools/perf/scripts/perl/bin/rw-by-pid-record
parentperf, ui: Eliminate stack-smashing protection compiler complaint (diff)
downloadkernel-qcow2-linux-01797c599816d39dfea47864c0f90cd50845811f.tar.gz
kernel-qcow2-linux-01797c599816d39dfea47864c0f90cd50845811f.tar.xz
kernel-qcow2-linux-01797c599816d39dfea47864c0f90cd50845811f.zip
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 <cjashfor@linux.vnet.ibm.com> Cc: a.p.zijlstra@chello.nl Cc: acme@redhat.com LKML-Reference: <1289269245-9388-1-git-send-email-cjashfor@linux.vnet.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/scripts/perl/bin/rw-by-pid-record')
0 files changed, 0 insertions, 0 deletions