summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMarc Zyngier <maz@kernel.org>2024-04-10 18:25:03 +0300
committerMarc Zyngier <maz@kernel.org>2024-04-14 11:52:25 +0300
commita88a9ec1729a4687370856567919e1ab79a02483 (patch)
treeb83fda52707b2fae8f054d251d7735ce9c9eb10f /tools/perf/scripts/python/stackcollapse.py
parent4cece764965020c22cff7665b18a012006359095 (diff)
downloadlinux-a88a9ec1729a4687370856567919e1ab79a02483.tar.xz
KVM: arm64: Improve out-of-order sysreg table diagnostics
Adding new entries to our system register tables is a painful exercise, as we require them to be ordered by Op0,Op1,CRn,CRm,Op2. If an entry is misordered, we output an error that indicates the pointer to the entry and the number *of the last valid one*. That's not very helpful, and would be much better if we printed the number of the *offending* entry as well as its name (which is present in the vast majority of the cases). This makes debugging new additions to the tables much easier. Reviewed-by: Zenghui Yu <yuzenghui@huawei.com> Link: https://lore.kernel.org/r/20240410152503.3593890-1-maz@kernel.org Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions