Commit Graph

2 Commits (69b42f4745a7b32a5c96dd6451794c25b698e1ab)

Author SHA1 Message Date
Mike Rostecki f34d355d7d bpf: Handle raw tracepoint arguments
Provide an `arg()` method in `RawTracepointArgs` wrapper of
`bpf_raw_tracepoint_args` and also in `RawTracepointContext`, so
it's directly available in raw tracepoint programs.

The methods and traits implemented here are unsafe. There is no
way to reliably check the number of available arguments, so
requesting a non-existing one leads to undefined behavior.
4 months ago
Tamir Duberstein e0c4948e36 Extract integration-common for shared types 5 months ago