Re: [PATCH v6 1/5] rust: add generic static_key_false

2024-08-09 Thread Alice Ryhl
On Fri, Aug 9, 2024 at 8:16 PM Gary Guo wrote: > > On Thu, 08 Aug 2024 17:23:37 + > Alice Ryhl wrote: > > > Add just enough support for static key so that we can use it from > > tracepoints. Tracepoints rely on `static_key_false` even though it is > > deprecated, so we add the same functional

Re: [PATCH v6 1/5] rust: add generic static_key_false

2024-08-09 Thread Gary Guo
On Thu, 08 Aug 2024 17:23:37 + Alice Ryhl wrote: > Add just enough support for static key so that we can use it from > tracepoints. Tracepoints rely on `static_key_false` even though it is > deprecated, so we add the same functionality to Rust. > > This patch only provides a generic implemen

[PATCH v6 1/5] rust: add generic static_key_false

2024-08-08 Thread Alice Ryhl
Add just enough support for static key so that we can use it from tracepoints. Tracepoints rely on `static_key_false` even though it is deprecated, so we add the same functionality to Rust. This patch only provides a generic implementation without code patching (matching the one used when CONFIG_J