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


Groups > linux.kernel > #1488957

Re: [BUG] perf report --pid not reporting correctly

From Andi Kleen <ak@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [BUG] perf report --pid not reporting correctly
Date 2016-09-22 17:00 +0200
Message-ID <skdDI-7GI-15@gated-at.bofh.it> (permalink)
References <sjEFY-2o3-9@gated-at.bofh.it> <sjRMR-2jj-5@gated-at.bofh.it> <sjZU6-7xE-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> If not, I suggest to use --hierarchy mode with including the sort key
> as the first one.  In this case.  It'll still show absolute
> percentages of global total period, but you can see the desired result
> easily IMHO.  Please try something like this:
> 
>   $ perf report --hierarchy -s pid,cpu

It would be nice if there was a way from scripts with a command line option
to ask hierarchy mode to only show a subset of the tree (e.g. with some
kind of pattern)

Then options like --pid could be obsoleted, but it would be far more
flexible and scale for all the sort keys which are supported, without
adding a lot of new command line options.

-Andi

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


Thread

[BUG] perf report --pid not reporting correctly Stephane Eranian <eranian@google.com> - 2016-09-21 03:40 +0200
  Re: [BUG] perf report --pid not reporting correctly Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-09-21 17:40 +0200
    Re: [BUG] perf report --pid not reporting correctly Jiri Olsa <jolsa@redhat.com> - 2016-09-21 18:40 +0200
      Re: [BUG] perf report --pid not reporting correctly Stephane Eranian <eranian@google.com> - 2016-09-21 22:20 +0200
        Re: [BUG] perf report --pid not reporting correctly Namhyung Kim <namhyung@kernel.org> - 2016-09-22 03:40 +0200
          Re: [BUG] perf report --pid not reporting correctly Stephane Eranian <eranian@google.com> - 2016-09-22 04:30 +0200
            Re: [BUG] perf report --pid not reporting correctly Namhyung Kim <namhyung@kernel.org> - 2016-09-22 05:30 +0200
          Re: [BUG] perf report --pid not reporting correctly Jiri Olsa <jolsa@redhat.com> - 2016-09-22 15:40 +0200
            Re: [BUG] perf report --pid not reporting correctly Namhyung Kim <namhyung@kernel.org> - 2016-09-23 05:40 +0200
    Re: [BUG] perf report --pid not reporting correctly Namhyung Kim <namhyung@kernel.org> - 2016-09-22 02:20 +0200
      Re: [BUG] perf report --pid not reporting correctly Andi Kleen <ak@linux.intel.com> - 2016-09-22 17:00 +0200

csiph-web