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


Groups > linux.kernel > #1649153

Re: [PATCH 4/7] perf script: Add --inline option

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 4/7] perf script: Add --inline option
Date 2017-05-24 08:40 +0200
Message-ID <tKy7D-75H-3@gated-at.bofh.it> (permalink)
References <tKxXX-71C-3@gated-at.bofh.it> <tKxXX-71C-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Namhyung Kim <namhyung@kernel.org> wrote:

> The --inline option is to show inlined functions in callchains.
> 
> For example,
> 
>   $ perf script
>   a.out  5644 11611.467597:     309961 cycles:u:
>                      790 main (/home/namhyung/tmp/perf/a.out)
>                    20511 __libc_start_main (/usr/lib/libc-2.25.so)
>                      8ba _start (/home/namhyung/tmp/perf/a.out)
>   ...
> 
>   $ perf script --inline
>   a.out  5644 11611.467597:     309961 cycles:u:
>                      790 main (/home/namhyung/tmp/perf/a.out)
>                          std::__detail::_Adaptor<std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul>, double>::operator()
>                          std::uniform_real_distribution<double>::operator()<std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul> >
>                          std::uniform_real_distribution<double>::operator()<std::linear_congruential_engine<unsigned long, 16807ul, 0ul, 2147483647ul> >
>                          main
>                    20511 __libc_start_main (/usr/lib/libc-2.25.so)
>                      8ba _start (/home/namhyung/tmp/perf/a.out)
>   ...

Shouldn't this be the default behavior, to make call chains more readable?

Thanks,

	Ingo

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


Thread

[PATCH 4/7] perf script: Add --inline option Namhyung Kim <namhyung@kernel.org> - 2017-05-24 08:30 +0200
  Re: [PATCH 4/7] perf script: Add --inline option Ingo Molnar <mingo@kernel.org> - 2017-05-24 08:40 +0200
    Re: [PATCH 4/7] perf script: Add --inline option Namhyung Kim <namhyung@kernel.org> - 2017-05-24 09:20 +0200
      Re: [PATCH 4/7] perf script: Add --inline option Ingo Molnar <mingo@kernel.org> - 2017-05-24 09:30 +0200
        Re: [PATCH 4/7] perf script: Add --inline option Milian Wolff <milian.wolff@kdab.com> - 2017-05-24 10:00 +0200
          Re: [PATCH 4/7] perf script: Add --inline option Ingo Molnar <mingo@kernel.org> - 2017-05-24 10:10 +0200
  [tip:perf/urgent] perf script: Add --inline option for debugging tip-bot for Namhyung Kim <tipbot@zytor.com> - 2017-05-24 09:20 +0200

csiph-web