diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2020-10-22 13:27:38 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-10-26 16:33:12 +0100 |
commit | 472547778de24e2764ab325268dd5b77e6923939 (patch) | |
tree | 9fc159915a88f18e7f97f36ebf2969953edde016 /fs/hfs/mdb.c | |
parent | 435ccfa894e35e3d4a1799e6ac030e48a7b69ef5 (diff) | |
download | linux-stable-472547778de24e2764ab325268dd5b77e6923939.tar.gz linux-stable-472547778de24e2764ab325268dd5b77e6923939.tar.bz2 linux-stable-472547778de24e2764ab325268dd5b77e6923939.zip |
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 <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201022202739.3667367-1-andrii@kernel.org
Diffstat (limited to 'fs/hfs/mdb.c')
0 files changed, 0 insertions, 0 deletions