diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-09-21 14:00:34 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-09-21 19:40:09 -0700 |
commit | d3b0e3b03cf75896de7b03ad1fca2bff98c59f15 (patch) | |
tree | b4044bc128e8efacb2420cfc4b5fe4e8c63a61f2 /drivers/cpufreq/elanfreq.c | |
parent | 303a257223a3bbd7cc6ccc2b7777179c8d9f3989 (diff) |
selftests/bpf: Adopt attach_probe selftest to work on old kernels
Make sure to not use ref_ctr_off feature when running on old kernels
that don't support this feature. This allows to test libbpf's legacy
kprobe and uprobe logic on old kernels.
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20210921210036.1545557-3-andrii@kernel.org
Diffstat (limited to 'drivers/cpufreq/elanfreq.c')
0 files changed, 0 insertions, 0 deletions