summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.h
diff options
context:
space:
mode:
authorHe Kuang <hekuang@huawei.com>2015-09-28 03:52:13 +0000
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-09-28 17:25:53 -0300
commit0b8891a8e62cb537b65ebc55cfbbb4ec22333c44 (patch)
tree7183e177cbd4fc2a61949de2212cc2bd21f8ebc5 /tools/perf/util/parse-events.h
parentba11ba65e02836c475427ae199adfc2d8cc4a900 (diff)
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/parse-events.h')
0 files changed, 0 insertions, 0 deletions