summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBoqun Feng <boqun@kernel.org>2026-08-07 00:02:12 -0700
committerPeter Zijlstra <peterz@infradead.org>2026-08-10 12:53:10 +0200
commit78c998b04ef53492f3502051349e55615681e00f (patch)
treeea618ede7f9eeb685da2be5b8b5b8deb780bea5d /tools/perf/scripts/python
parentc1f0451ec748f7a58a4e50bcb8f75bd89718be78 (diff)
rust: helper: Add spin_{un,}lock_irq_{enable,disable}() helpers
spin_lock_irq_disable() and spin_unlock_irq_enable() are inline functions, to use them in Rust helpers are introduced. This is for interrupt disabling lock abstraction in Rust. Signed-off-by: Boqun Feng <boqun@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Andreas Hindborg <a.hindborg@kernel.org> Reviewed-by: Gary Guo <gary@garyguo.net> Link: https://patch.msgid.link/20260807070218.27144-16-boqun@kernel.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions