On Wed, Nov 23, 2016 at 04:44:49AM -0500, [email protected] 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

Reply via email to