aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2024-04-24 15:55:29 -0700
committerMartin KaFai Lau <[email protected]>2024-04-25 10:48:40 -0700
commit8ec3bf5c31d2a59c320ff59397f6ac362341d9d7 (patch)
treebf3311fccbe189adc9b5c517807599e111d9da8f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py
parent52578f7f53ff8fe3a8f6f3bc8b5956615c07a16e (diff)
bpf: Add bpf_guard_preempt() convenience macro
Add bpf_guard_preempt() macro that uses newly introduced bpf_preempt_disable/enable() kfuncs to guard a critical section. Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions