summaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-08-31 06:45:20 +0200
committerIngo Molnar <mingo@elte.hu>2009-08-31 10:04:49 +0200
commit9b8055a52c8986167e0a7357460d528a00db67e6 (patch)
treeac17eed2918ec8288e12f58699fe67a56d8cca3a /tools/perf/builtin-top.c
parent3a2684ca58e06941ff00e3f096ca44f898a6d13e (diff)
downloadop-kernel-dev-9b8055a52c8986167e0a7357460d528a00db67e6.zip
op-kernel-dev-9b8055a52c8986167e0a7357460d528a00db67e6.tar.gz
perf tools: Unify swapper tasks naming
In perf tools, we hardcode the pid 0 cmdline resolving to "idle" because the init task is not included in the COMM events. But the idle tasks secondary cpus are resolved into their "init" name through the COMM events. We have then such strange result in perf report (ditto with trace): 19.66% init [kernel] [k] acpi_idle_enter_c1 17.32% [idle] [kernel] [k] acpi_idle_enter_c1 It's then better to unify the swapper tasks into a single init name. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com> LKML-Reference: <1251693921-6579-3-git-send-email-fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-top.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud