diff options
author | Namhyung Kim <[email protected]> | 2022-10-10 22:28:08 -0700 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2022-10-11 06:53:12 -1000 |
commit | 8248fe413216732f98563e8882b6c6ae617c327b (patch) | |
tree | 13111d3d7358a108e04f07e6490d45cc50e1802b /tools/perf/scripts/python/task-analyzer.py | |
parent | 35256d673a9cf723d9e2edb5d51e1b1b6b197ba3 (diff) |
perf stat: Support old kernels for bperf cgroup counting
The recent change in the cgroup will break the backward compatiblity in
the BPF program. It should support both old and new kernels using BPF
CO-RE technique.
Like the task_struct->__state handling in the offcpu analysis, we can
check the field name in the cgroup struct.
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions