perf_counter tools: include PID in perf-report output, tweak user/kernel printut
commitb3828ebb3901adfe989d8d4157ed28247aeec132
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Apr 2009 07:50:04 +0000 (9 09:50 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Apr 2009 08:01:38 +0000 (9 10:01 +0200)
tree0248af2c72bd6bc47b2cea01037304096065283b
parent888fcee066a2f4abd0d0bc9418c0535f9b01e6e5
perf_counter tools: include PID in perf-report output, tweak user/kernel printut

It's handier than an <unknown> entry.
Also replace the kernel/user column with a more compact version:

  0.52              cc1  [k]  page_fault
  0.57               :0  [k]   _spin_lock
  0.59            :7506  [.]  <unknown>
  0.69               as  [.]  /usr/bin/as: <unknown>
  0.76              cc1  [.]  /lib64/libc-2.8.so: _int_free
  0.92              cc1  [k]  clear_page_c
  1.00            :7465  [.]  <unknown>
  1.43              cc1  [.]  /lib64/libc-2.8.so: memset
  1.86              cc1  [.]  /lib64/libc-2.8.so: _int_malloc
 70.33              cc1  [.]  /usr/libexec/gcc/x86_64-redhat-linux/4.3.2/cc1: <unknown>

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/perf-report.cc