[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161123230204.GG15978@krava>
Date: Thu, 24 Nov 2016 00:02:04 +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 11/14] perf tools: record write data overhead
On Wed, Nov 23, 2016 at 04:44:49AM -0500, kan.liang@...el.com wrote:
SNIP
> diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c
> index d8cde21..ce7a0ea 100644
> --- a/tools/perf/util/machine.c
> +++ b/tools/perf/util/machine.c
> @@ -573,6 +573,11 @@ int machine__process_overhead_event(struct machine *machine __maybe_unused,
> event->overhead.entry.nr,
> event->overhead.entry.time,
> event->overhead.entry.cpu);
> + } else if (event->overhead.type == PERF_USER_WRITE_OVERHEAD) {
> + dump_printf(" User write nr: %llu time: %llu cpu %u\n",
> + event->overhead.entry.nr,
> + event->overhead.entry.time,
> + event->overhead.entry.cpu);
should this be rather in the switch ?
jirka
Powered by blists - more mailing lists