diff options
author | Namhyung Kim <[email protected]> | 2022-10-10 22:28:08 -0700 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2022-10-14 10:29:05 -0300 |
commit | f21cb52036373a108acde5853931facfea727a7b (patch) | |
tree | 42fc3816e66fe6d0d268ca190acfcbeef14b3188 /drivers/fpga/fpga-mgr.c | |
parent | 9c9155a3509a2ebdb06d77c7a621e9685c802eac (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.
Signed-off-by: Namhyung Kim <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Song Liu <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: zefan li <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions