diff options
author | He Kuang <hekuang@huawei.com> | 2015-09-28 06:52:13 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2015-09-28 23:25:53 +0300 |
commit | 0b8891a8e62cb537b65ebc55cfbbb4ec22333c44 (patch) | |
tree | 7183e177cbd4fc2a61949de2212cc2bd21f8ebc5 /tools/perf/util/pmu.c | |
parent | ba11ba65e02836c475427ae199adfc2d8cc4a900 (diff) | |
download | linux-0b8891a8e62cb537b65ebc55cfbbb4ec22333c44.tar.xz |
perf tools: Adds the config_term callback for different type events
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>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: pi3orama@163.com
Link: http://lkml.kernel.org/r/1443412336-120050-1-git-send-email-hekuang@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/pmu.c')
0 files changed, 0 insertions, 0 deletions