• Peter Zijlstra's avatar
    perf_counter: tools: Expand the COMM,MMAP event synthesizer · f70e87d7
    Peter Zijlstra authored
    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: default avatarPeter 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: default avatarIngo Molnar <mingo@elte.hu>
    f70e87d7
builtin-report.c 16.8 KB