diff options
author | Jing Zhang <renyu.zj@linux.alibaba.com> | 2023-09-27 08:59:47 +0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2023-09-28 07:02:07 +0300 |
commit | e3e42e23c0c6e791a00eb8331dc948f316e6de1f (patch) | |
tree | 0ef2834042bb5430b13a50b34bb7604fd7a1fd55 /tools/perf/scripts/python | |
parent | 54409997d4b99ab63616bd431cf6244d58f8a597 (diff) | |
download | linux-e3e42e23c0c6e791a00eb8331dc948f316e6de1f.tar.xz |
perf jevents: Support EventidCode and NodeType
The previous code assumes an event has either an "event=" or "config"
field at the beginning. For CMN neither of these may be present, as an
event is typically "type=xx,eventid=xxx".
So add EventidCode and NodeType to support CMN event description.
I compared pmu_event.c before and after compiling with JEVENT_ARCH=all,
they are consistent.
Signed-off-by: Jing Zhang <renyu.zj@linux.alibaba.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Tested-by: Ian Rogers <irogers@google.com>
Cc: James Clark <james.clark@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Shuai Xue <xueshuai@linux.alibaba.com>
Cc: Zhuo Song <zhuo.song@linux.alibaba.com>
Cc: John Garry <john.g.garry@oracle.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-doc@vger.kernel.org
Link: https://lore.kernel.org/r/1695794391-34817-4-git-send-email-renyu.zj@linux.alibaba.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions