perf report: Display user/kernel differentiator
authorIngo Molnar <mingo@elte.hu>
Fri, 5 Jun 2009 12:13:18 +0000 (14:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 5 Jun 2009 12:13:18 +0000 (14:13 +0200)
commit8edd4286f99f78fe07fe9196e69d5643da86cada
tree1a61df71db834138f94af06902ab342ed690cc4c
parentfc54db5105d01ad691a7d747064c7890e17f936c
perf report: Display user/kernel differentiator

Before:

    25.96%  copy_user_generic_string
    15.23%  two_op
    15.19%  one_op
     6.92%  enough_duration
     1.23%  alloc_pages_current
     1.14%  acpi_os_read_port
     1.08%  _spin_lock

After:

    25.96%  [k] copy_user_generic_string
    15.23%  [.] two_op
    15.19%  [.] one_op
     6.92%  [.] enough_duration
     1.23%  [k] alloc_pages_current
     1.14%  [k] acpi_os_read_port
     1.08%  [k] _spin_lock

The '[k]' differentiator is a quick clue that it's a kernel symbol,
without having to bring in the full dso column.

Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-report.c