Re: [PATCH] perf tools: Fix pmu events parsing rule

2018-06-05 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 05, 2018 at 02:14:16PM +0200, Jiri Olsa escreveu: > Currently all the event parsing fails end up > in the event_pmu rule, and display misleading > help like: > > $ perf stat -e inst kill > event syntax error: 'inst' >\___ Cannot find PMU `inst'. Missing kern

[PATCH] perf tools: Fix pmu events parsing rule

2018-06-05 Thread Jiri Olsa
Currently all the event parsing fails end up in the event_pmu rule, and display misleading help like: $ perf stat -e inst kill event syntax error: 'inst' \___ Cannot find PMU `inst'. Missing kernel support? ... The reason is that the event_pmu is too strong and match