[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161123223559.GB15978@krava>
Date: Wed, 23 Nov 2016 23:35:59 +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 05/14] perf tools: handle PERF_RECORD_OVERHEAD record type
On Wed, Nov 23, 2016 at 04:44:43AM -0500, kan.liang@...el.com wrote:
SNIP
> +
> static void dso__adjust_kmod_long_name(struct dso *dso, const char *filename)
> {
> const char *dup_filename;
> @@ -1536,6 +1542,8 @@ int machine__process_event(struct machine *machine, union perf_event *event,
> case PERF_RECORD_SWITCH:
> case PERF_RECORD_SWITCH_CPU_WIDE:
> ret = machine__process_switch_event(machine, event); break;
> + case PERF_RECORD_OVERHEAD:
> + ret = machine__process_overhead_event(machine, event); break;
missing breaks
jirka
> default:
> ret = -1;
> break;
SNIP
Powered by blists - more mailing lists