diff options
| author | Dmitrii Dolgov <[email protected]> | 2024-01-03 20:05:47 +0100 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-01-04 20:40:49 -0800 |
| commit | e02feb3f1f47509ec1e07b604bfbeff8c3b4e639 (patch) | |
| tree | 0597b83407e92f101be92851c0b2e0eb5181b045 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
| parent | 715d82ba636cb3629a6e18a33bb9dbe53f9936ee (diff) | |
selftests/bpf: Test re-attachment fix for bpf_tracing_prog_attach
Add a test case to verify the fix for "prog->aux->dst_trampoline and
tgt_prog is NULL" branch in bpf_tracing_prog_attach. The sequence of
events:
1. load rawtp program
2. load fentry program with rawtp as target_fd
3. create tracing link for fentry program with target_fd = 0
4. repeat 3
Acked-by: Jiri Olsa <[email protected]>
Acked-by: Song Liu <[email protected]>
Signed-off-by: Dmitrii Dolgov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions