diff options
author | Namhyung Kim <[email protected]> | 2022-09-22 23:32:05 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-09-26 10:05:50 -0300 |
commit | e42c9c54f2e731885ea2bd92c478c85d879637a6 (patch) | |
tree | 79fac289f3aa836d6f3b827bbc7d190003c4308a /scripts/gdb/linux/rbtree.py | |
parent | f76349cf41451c5c42a99f18a9163377e4b364ff (diff) |
perf tools: Get a perf cgroup more portably in BPF
The perf_event_cgrp_id can be different on other configurations.
To be more portable as CO-RE, it needs to get the cgroup subsys id using
the bpf_core_enum_value() helper.
Suggested-by: Ian Rogers <[email protected]>
Reviewed-by: Ian Rogers <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Hao Luo <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Song Liu <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/rbtree.py')
0 files changed, 0 insertions, 0 deletions