Re: [PATCH 0/9] perf tools: Report event parsing errors

Arnaldo Carvalho de Melo
2015-04-23T14:44:57Z

Em Wed, Apr 22, 2015 at 09:10:15PM +0200, Jiri Olsa escreveu:
> hi,
> adding support to report error from event string parsing.
>
> v1 changes (from RFC):
> - display list of allowed terms for pmu event error [Ingo]
> - changing 'invalid or unsupported event' string into
> 'event syntax error' for cases we know the precise error
>
> This patchset contains support for standard parsing errors
> and more logic to recognize tracepoint and 'pmu//' terms,
> like:
>
> $ sudo perf record -e 'sched:krava' ls
> event syntax error: 'sched:krava'
> \___ unknown tracepoint
> ...

Thanks, applied and tested each of these patches.

- Arnaldo