• P
    perf_counter: tools: Expand the COMM,MMAP event synthesizer · f70e87d7
    Peter Zijlstra 提交于
    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: NPeter 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: NIngo Molnar <mingo@elte.hu>
    f70e87d7
builtin-record.c 10.8 KB