diff options
| author | Jiri Olsa <[email protected]> | 2020-08-25 19:21:23 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-25 22:41:15 +0000 |
| commit | e4d1af4b16f80a90d9cf3a09bee2012dcde45638 (patch) | |
| tree | c81a467dd57c7d30acbe937fa2d07353987dc3ce /tools/testing/selftests/bpf/prog_tests/resolve_btfids.c | |
| parent | selftests/bpf: Add verifier test for d_path helper (diff) | |
| download | kernel-e4d1af4b16f80a90d9cf3a09bee2012dcde45638.tar.gz kernel-e4d1af4b16f80a90d9cf3a09bee2012dcde45638.zip | |
selftests/bpf: Add test for d_path helper
Adding test for d_path helper which is pretty much
copied from Wenbo Zhang's test for bpf_get_fd_path,
which never made it in.
The test is doing fstat/close on several fd types,
and verifies we got the d_path helper working on
kernel probes for vfs_getattr/filp_close functions.
Original-patch-by: Wenbo Zhang <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/resolve_btfids.c')
0 files changed, 0 insertions, 0 deletions
