diff options
author | Andrii Nakryiko <[email protected]> | 2020-10-22 13:27:38 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-10-26 16:33:12 +0100 |
commit | 472547778de24e2764ab325268dd5b77e6923939 (patch) | |
tree | 9fc159915a88f18e7f97f36ebf2969953edde016 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 435ccfa894e35e3d4a1799e6ac030e48a7b69ef5 (diff) |
selftest/bpf: Fix profiler test using CO-RE relocation for enums
Instead of hard-coding invalid pids_cgrp_id, use Kconfig to detect the
presence of that enum value and CO-RE to capture its actual value in the
hosts's kernel.
Fixes: 03d4d13fab3f ("selftests/bpf: Add profiler test")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Tested-by: Song Liu <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions