aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-02-24 15:01:50 +0100
committerAlexei Starovoitov <[email protected]>2020-02-24 16:20:10 -0800
commitd01f9b198ca985b49717d8cd0b1f57806cb1319a (patch)
tree2c04f166fcf15540ae2183b0e089425a57bd41e9 /tools/perf/scripts/python/sctop.py
parentb6e5dae15a61b0cc9219799926813baad0b58967 (diff)
bpf: Factor out hashtab bucket lock operations
As a preparation for making the BPF locking RT friendly, factor out the hash bucket lock operations into inline functions. This allows to do the necessary RT modification in one place instead of sprinkling it all over the place. No functional change. The now unused htab argument of the lock/unlock functions will be used in the next step which adds PREEMPT_RT support. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions