Re: [PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-28 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 28, 2015 at 03:52:13AM +, He Kuang escreveu: > Currently, function config_term() is used for checking config terms of > all types of events, while unknown terms is not reported as an error > because pmu events have valid terms in sysfs. But this is wrong when > unknown terms are

Re: [PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-28 Thread Jiri Olsa
On Mon, Sep 28, 2015 at 03:52:13AM +, He Kuang wrote: > Currently, function config_term() is used for checking config terms of > all types of events, while unknown terms is not reported as an error > because pmu events have valid terms in sysfs. But this is wrong when > unknown terms are

Re: [PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-28 Thread Jiri Olsa
On Mon, Sep 28, 2015 at 03:52:13AM +, He Kuang wrote: > Currently, function config_term() is used for checking config terms of > all types of events, while unknown terms is not reported as an error > because pmu events have valid terms in sysfs. But this is wrong when > unknown terms are

Re: [PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-28 Thread Arnaldo Carvalho de Melo
Em Mon, Sep 28, 2015 at 03:52:13AM +, He Kuang escreveu: > Currently, function config_term() is used for checking config terms of > all types of events, while unknown terms is not reported as an error > because pmu events have valid terms in sysfs. But this is wrong when > unknown terms are

[PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-27 Thread He Kuang
Currently, function config_term() is used for checking config terms of all types of events, while unknown terms is not reported as an error because pmu events have valid terms in sysfs. But this is wrong when unknown terms are specificed to hw/sw events. This patch Adds the config_term callback so

[PATCH v3 1/4] perf tools: Adds the config_term callback for different type events

2015-09-27 Thread He Kuang
Currently, function config_term() is used for checking config terms of all types of events, while unknown terms is not reported as an error because pmu events have valid terms in sysfs. But this is wrong when unknown terms are specificed to hw/sw events. This patch Adds the config_term callback so