You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
selftests/bpf: Add test for checking correct nop of optimized usdt
Adding test that attaches bpf program on usdt probe in 2 scenarios;
- attach program on top of usdt_1 which is standard nop probe
incidentally followed by nop5. The usdt probe does not have
extra data in elf note record, so we expect the probe to land
on the first nop without being optimized.
- attach program on top of usdt_2 which is probe defined on top
of nop,nop5 combo. The extra data in the elf note record and
presence of upeobe syscall ensures that the probe is placed
on top of nop5 and optimized.
Signed-off-by: Jiri Olsa <[email protected]>
0 commit comments