]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter: tools: Expand the COMM,MMAP event synthesizer
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 2 Jun 2009 12:13:24 +0000 (14:13 +0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 2 Jun 2009 14:16:26 +0000 (16:16 +0200)
commit92076b105a790d6bb17b8f356568c37180fdb7f9
tree4ab2bd0cf9db9ada8edd49266765d7c9df2ade5f
parent82eea49ebf5e65e2a67f00c8ec18308ecb6ad149
perf_counter: tools: Expand the COMM,MMAP event synthesizer

Include code to pre-construct mappings based on /proc,
on system wide recording.

Fix the existing code to properly fill out ->pid and ->tid.

The PID should be the Thread Group ID (PIDTYPE_PID of task->group_leader)
The TID should be the Thread ID (PIDTYPE_PID of task)

Furthermore, change the default sorting of report to comm,dso for a
better quick overview.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Kacur <jkacur@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/builtin-record.c
Documentation/perf_counter/builtin-report.c