summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2026-08-06 15:55:43 -0700
committerJohn Johansen <john.johansen@canonical.com>2026-08-07 19:15:31 -0700
commit1555a0e2a149cba4578f5270e7fb9efb420b985f (patch)
tree025c6ce65e0f485d5fa07e5fac5d2148d821f0e4 /tools/perf/scripts/python/stackcollapse.py
parent3f4ae5fab613dca01d6a2a8210dd832e009fcf47 (diff)
apparmor: optimize current_label_crit_section() with needput
The {begin,end}_current_label_crit_section() has the same issue as the {__begin,__end} version. That is the check to see if the label has been updated in the end check forces an unnecessary memory barrier. We can optimize this the same way we do with the {__begin,__end} variant by passing in a local variable that carries the state information from the begin check into the end check. No functional change. Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions