aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/pmu-events/jevents.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-09-16 20:34:21 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-09-28 16:14:05 -0300
commit4f9d4f8aa7328068a2f25cfb3d1d04c1b6fa54ac (patch)
treec909c91ff193b1512fefb196ad5efd4c3c94945e /tools/perf/pmu-events/jevents.c
parentlibtraceevent: Increase libtraceevent logging when verbose (diff)
downloadlinux-dev-4f9d4f8aa7328068a2f25cfb3d1d04c1b6fa54ac.tar.xz
linux-dev-4f9d4f8aa7328068a2f25cfb3d1d04c1b6fa54ac.zip
perf parse-events: Set numeric term config
For numeric terms, the config field may be NULL as it is not set from the l+y parsing. Fix by setting the term config from the term type name. Also fix up the pmu-events test to set the alias strings to set the period term properly, and fix up parse-events test to check the term config string. Signed-off-by: John Garry <john.garry@huawei.com> Acked-by: Ian Rogers <irogers@google.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Leo Yan <leo.yan@linaro.org> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Shaokun Zhang <zhangshaokun@hisilicon.com> Cc: Will Deacon <will@kernel.org> Cc: linux-arm-kernel@lists.infradead.org Cc: linuxarm@huawei.com Cc: liuqi115@huawei.com Link: https://lore.kernel.org/r/1631795665-240946-2-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/pmu-events/jevents.c')
0 files changed, 0 insertions, 0 deletions