Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1634082

Re: [PATCH] perf report: distinguish between inliners in the same function

From "Jin, Yao" <yao.jin@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] perf report: distinguish between inliners in the same function
Date 2017-05-02 04:20 +0200
Message-ID <tCvzY-hZ-7@gated-at.bofh.it> (permalink)
References <tAZLP-6S4-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


SNIP

> ~~~~~
> $ perf report --stdio --inline --no-children
> Failed to open [ext4], continuing without symbols
> # To display the perf.data header info, please use --header/--header-only
> options.
> #
> #
> # Total Lost Samples: 0
> #
> # Samples: 499  of event 'cycles'
> # Event count (approx.): 329354953
> #
> # Overhead  Command    Shared Object      Symbol
> # ........  .........  .................  ................................
> #
>      96.70%  ex_random  ex_random          [.] main
> |
>              ---main
>                 __libc_start_main
>                 _start
> ...
> ~~~~~
>
> Note how no inlined frames are actually shown, because the first
> sample in main points to an IP that does not correspond to any
> inlined frames.

perf report -g address --inline --stdio

Did you try with "-g address" option? It's sorted by address.

But anyway, I like this patch. It works well in my test.

Thanks
Jin Yao

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] perf report: distinguish between inliners in the same function Milian Wolff <milian.wolff@kdab.com> - 2017-04-28 00:10 +0200
  Re: [PATCH] perf report: distinguish between inliners in the same  function "Jin, Yao" <yao.jin@linux.intel.com> - 2017-05-02 04:20 +0200
    Re: [PATCH] perf report: distinguish between inliners in the same function Milian Wolff <milian.wolff@kdab.com> - 2017-05-02 11:20 +0200

csiph-web