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

Jiri Olsa
2015-09-28T19:39:25Z

On Mon, Sep 28, 2015 at 03:52:13AM +0000, 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 specificed to hw/sw events. This patch Adds the
> config_term callback so we can use separate check routines for each
> type of events.
>
> Signed-off-by: He Kuang <hekuang@huawei.com>

Acked-by: Jiri Olsa <jolsa@kernel.org>

thanks,
jirka