summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorbui duc phuc <phucduc.bui@gmail.com>2026-07-13 12:03:11 +0700
committerMark Brown <broonie@kernel.org>2026-07-13 18:52:42 +0100
commit85da24aac16ab70c77a763e42e52fc3a782fb21c (patch)
tree0eab75969d9a5a65ea3db322d8ad93069ade3e57 /tools/perf/scripts/python/flamegraph.py
parent35845da94b9031b16400046bd81f96db386515e0 (diff)
regcache: Preserve cache synchronization errors in regcache_sync()
regcache_sync() currently stores the return value from both cache synchronization and selector register rewriting in the same variable. As a result, a successful selector register rewrite can overwrite an earlier cache synchronization error, causing regcache_sync() to return success even though synchronization failed. Track the two operations with separate return variables and preserve the cache synchronization error. Errors from rewriting selector registers are returned only if cache synchronization completed successfully. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260713050312.38729-2-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions