aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2023-08-31 16:11:03 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2023-08-31 17:18:53 +0200
commitd11ae1b16b0a57fac524cad8e277a20ec62600d1 (patch)
tree7d047679e8e50a0f7f8f3a7f5fd373fe2f03853d /scripts/gdb/linux/modules.py
parent121fd33bf2d99007f8fe2a155c291a30baca3f52 (diff)
selftests/bpf: Fix d_path test
Recent commit [1] broke d_path test, because now filp_close is not called directly from sys_close, but eventually later when the file is finally released. As suggested by Hou Tao we don't need to re-hook the bpf program, but just instead we can use sys_close_range to trigger filp_close synchronously. [1] 021a160abf62 ("fs: use __fput_sync in close(2)") Suggested-by: Hou Tao <houtao@huaweicloud.com> Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20230831141103.359810-1-jolsa@kernel.org
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions