aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2021-07-21 16:58:13 +0100
committerPeter Zijlstra <[email protected]>2021-08-04 15:16:47 +0200
commit9248e52fec9536590852844b0634b5d20483c1ab (patch)
treec1e263dff46d665f806133950674a3d5d90587d3 /tools/perf/scripts/python/stackcollapse.py
parentcf3ee3c8c29dc349b2cf52e5e72e8cb805ff5e57 (diff)
locking/atomic: simplify non-atomic wrappers
Since the non-atomic arch_*() bitops use plain accesses, they are implicitly instrumnted by the compiler, and we work around this in the instrumented wrappers to avoid double instrumentation. It's simpler to avoid the wrappers entirely, and use the preprocessor to alias the arch_*() bitops to their regular versions, removing the need for checks in the instrumented wrappers. Suggested-by: Marco Elver <[email protected]> Signed-off-by: Mark Rutland <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Marco Elver <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions