Skip to content

Support arbitrary USDT_NOP definitions#12

Merged
anakryiko merged 2 commits intolibbpf:mainfrom
anakryiko:usdt-arbitrary-nop
Apr 24, 2025
Merged

Support arbitrary USDT_NOP definitions#12
anakryiko merged 2 commits intolibbpf:mainfrom
anakryiko:usdt-arbitrary-nop

Conversation

@anakryiko
Copy link
Member

No description provided.

USDT_NOP doesn't have to be restricted to comma-less sequence. Support
arbitrary assembly expression with up to 11 commans (12 macro arguments,
basically).

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Validate that overriding USDT_NOP macro with nop5 (open-coded through
.byte directive) works as expected.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
@anakryiko anakryiko force-pushed the usdt-arbitrary-nop branch from 849ec93 to acc211d Compare April 24, 2025 18:15
@anakryiko anakryiko merged commit f4ea2f5 into libbpf:main Apr 24, 2025
28 checks passed
@anakryiko anakryiko deleted the usdt-arbitrary-nop branch April 24, 2025 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant