diff options
author | Jerome Marchand <jmarchan@redhat.com> | 2024-12-18 20:57:24 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2024-12-19 15:24:39 +0300 |
commit | 716f2bca1ce93bb95364f1fc0555c1650507b588 (patch) | |
tree | 8925b1cfc40f8a0090a2cd8434bf947080abb41a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 29d44cce324dab2bd86c447071a596262e7109b6 (diff) | |
download | linux-716f2bca1ce93bb95364f1fc0555c1650507b588.tar.xz |
selftests/bpf: Fix compilation error in get_uprobe_offset()
In get_uprobe_offset(), the call to procmap_query() use the constant
PROCMAP_QUERY_VMA_EXECUTABLE, even if PROCMAP_QUERY is not defined.
Define PROCMAP_QUERY_VMA_EXECUTABLE when PROCMAP_QUERY isn't.
Fixes: 4e9e07603ecd ("selftests/bpf: make use of PROCMAP_QUERY ioctl if available")
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/bpf/20241218175724.578884-1-jmarchan@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions