Commit Graph

2 Commits (c005ad30ed0841fc5701b24ac1035001be431b5a)

Author SHA1 Message Date
Thomas Eizinger c005ad30ed
Use correct cfg for panic handler 4 weeks ago
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.
3 months ago