• Thomas Richter's avatar
    perf report: Add GUI report support for s390 auxiliary trace · 33d9e183
    Thomas Richter authored
    Add support for s390 auxiliary trace support.
    
    Use 'perf record -e rbd000 -- ls' to create the perf.data file.
    
    Use 'perf report' to display the auxiliary trace data.
    
    Output before:
    
      [root@s35lp76 perf]# ./perf report --stdio
      0x128 [0x10]: failed to process type: 70
      Error:
      failed to process sample
      [root@s35lp76 perf]#
    
    Output after:
    
      [root@s35lp76 perf]# ./perf report --stdio
    
          18.21%    18.21%  ls     [kernel.kallsyms]       [k] ftrace_likely_update
           9.52%     9.52%  ls     [kernel.kallsyms]       [k] lock_acquire
           9.38%     9.38%  ls     [kernel.kallsyms]       [k] lock_release
           3.45%     3.45%  ls     [kernel.kallsyms]       [k] lock_acquired
           2.88%     2.88%  ls     [kernel.kallsyms]       [k] link_path_walk
           2.63%     2.63%  ls     [kernel.kallsyms]       [k] __d_lookup
           2.38%     2.38%  ls     [kernel.kallsyms]       [k] __d_lookup_rcu
           2.04%     2.04%  ls     [kernel.kallsyms]       [k] ___might_sleep
           1.83%     1.83%  ls     [kernel.kallsyms]       [k] debug_lockdep_rcu_enabled
           1.44%     1.44%  ls     [kernel.kallsyms]       [k] dput
         ....
    Signed-off-by: default avatarThomas Richter <tmricht@linux.ibm.com>
    Reviewed-by: default avatarHendrik Brueckner <brueckner@linux.ibm.com>
    Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
    Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
    Link: http://lkml.kernel.org/r/20180802074622.13641-4-tmricht@linux.ibm.com
    [ Use PRI[xd]64 to fix the build on debian:experimental-x-mips (gcc 8.1.0) and others ]
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    33d9e183
s390-cpumsf.c 27.6 KB