lkml.org 
[lkml]   [2018]   [Sep]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v5 5/9] perf, tools, script: Print DSO for callindent
Em Tue, Sep 18, 2018 at 05:32:10AM -0700, Andi Kleen escreveu:
> From: Andi Kleen <ak@linux.intel.com>
>
> Now that we don't need to print the IP/ADDR for callindent the DSO
> is also not printed. It's useful for some cases, so add an own DSO
> printout for callindent for the case when IP/ADDR is not enabled.
>
> Before:
>
> % perf script --itrace=cr -F +callindent,-ip,-sym,-symoff,-addr
> swapper 0 [000] 3377.917072: 1 branches: pt_config
> swapper 0 [000] 3377.917072: 1 branches: pt_config
> swapper 0 [000] 3377.917072: 1 branches: pt_event_add
> swapper 0 [000] 3377.917072: 1 branches: perf_pmu_enable
> swapper 0 [000] 3377.917072: 1 branches: perf_pmu_nop_void
> swapper 0 [000] 3377.917072: 1 branches: event_sched_in.isra.107
> swapper 0 [000] 3377.917072: 1 branches: __x86_indirect_thunk_rax
> swapper 0 [000] 3377.917072: 1 branches: perf_pmu_nop_int
> swapper 0 [000] 3377.917072: 1 branches: group_sched_in
> swapper 0 [000] 3377.917072: 1 branches: event_filter_match
> swapper 0 [000] 3377.917072: 1 branches: event_filter_match
> swapper 0 [000] 3377.917072: 1 branches: group_sched_in
>
> After:
>
> swapper 0 [000] 3377.917072: 1 branches: ([unknown]) pt_config
> swapper 0 [000] 3377.917072: 1 branches: ([kernel.kallsyms]) pt_config

Tested, applied.

- Arnaldo

\
 
 \ /
  Last update: 2018-09-19 20:27    [W:0.131 / U:1.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site