Re: [PATCH 05/14] perf tools: handle PERF_RECORD_OVERHEAD record type

From: Jiri Olsa
Date: Wed Nov 23 2016 - 17:36:10 EST


On Wed, Nov 23, 2016 at 04:44:43AM -0500, kan.liang@xxxxxxxxx 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