Re: [PATCH v6 2/5] rust: add tracepoint support

2024-08-09 Thread Gary Guo
On Thu, 08 Aug 2024 17:23:38 + Alice Ryhl wrote: > Make it possible to have Rust code call into tracepoints defined by C > code. It is still required that the tracepoint is declared in a C > header, and that this header is included in the input to bindgen. > > Instead of calling __DO_TRACE d

[PATCH v6 2/5] rust: add tracepoint support

2024-08-08 Thread Alice Ryhl
Make it possible to have Rust code call into tracepoints defined by C code. It is still required that the tracepoint is declared in a C header, and that this header is included in the input to bindgen. Instead of calling __DO_TRACE directly, the exported rust_do_trace_ function calls an inline hel