diff options
author | Jing Zhang <[email protected]> | 2023-09-27 13:59:47 +0800 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2023-09-27 21:02:07 -0700 |
commit | e3e42e23c0c6e791a00eb8331dc948f316e6de1f (patch) | |
tree | 0ef2834042bb5430b13a50b34bb7604fd7a1fd55 /scripts/clang-tools/gen_compile_commands.py | |
parent | 54409997d4b99ab63616bd431cf6244d58f8a597 (diff) |
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 <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Tested-by: Ian Rogers <[email protected]>
Cc: James Clark <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mike Leach <[email protected]>
Cc: Shuai Xue <[email protected]>
Cc: Zhuo Song <[email protected]>
Cc: John Garry <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions