[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161206111608.GA7730@krava>
Date: Tue, 6 Dec 2016 12:16:08 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: kan.liang@...el.com
Cc: peterz@...radead.org, mingo@...hat.com, acme@...nel.org,
linux-kernel@...r.kernel.org, alexander.shishkin@...ux.intel.com,
tglx@...utronix.de, namhyung@...nel.org, jolsa@...nel.org,
adrian.hunter@...el.com, wangnan0@...wei.com, mark.rutland@....com,
andi@...stfloor.org
Subject: Re: [PATCH V2 07/13] perf tools: handle PERF_RECORD_OVERHEAD record
type
On Fri, Dec 02, 2016 at 04:19:15PM -0500, kan.liang@...el.com wrote:
> From: Kan Liang <kan.liang@...el.com>
>
> The infrastructure to handle PERF_RECORD_OVERHEAD record type.
> A new perf report option is introduced as a knob to show the profiling
> overhead information. The option also forces tty output.
>
> The overhead information is auxillary information, so it should be
> possible to access it together with normal sampling information in a
> single output file. But the overhead is overall profiling time cost, not
> per-sample/event profiling time cost. Making overhead a standard sort
> key could confuse the normal samples.
> So the information is printed separately in the head of the output.
>
> Signed-off-by: Kan Liang <kan.liang@...el.com>
> ---
> tools/perf/Documentation/perf-report.txt | 3 +++
> tools/perf/builtin-report.c | 16 +++++++++++++++-
> tools/perf/util/event.c | 9 +++++++++
> tools/perf/util/event.h | 11 +++++++++++
> tools/perf/util/evlist.c | 6 ++++++
> tools/perf/util/evlist.h | 1 +
> tools/perf/util/machine.c | 10 ++++++++++
> tools/perf/util/machine.h | 3 +++
> tools/perf/util/session.c | 21 +++++++++++++++++++++
> tools/perf/util/session.h | 3 +++
> tools/perf/util/symbol.h | 3 ++-
> tools/perf/util/tool.h | 1 +
> 12 files changed, 85 insertions(+), 2 deletions(-)
I think also perf inject needs repipe this overhead handler
jirka
Powered by blists - more mailing lists