summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorGerd Bayer <gbayer@linux.ibm.com>2026-10-12 16:21:49 +0200
committerHeiko Carstens <hca@linux.ibm.com>2026-10-14 17:33:39 +0200
commit9bfcede4926054b8ee154e92e30dfabecf238ca4 (patch)
tree66faf50e3bc2575d53e9f809459bdd4988c523c5 /tools/perf/scripts/python/stackcollapse.py
parentcfadcb9c0fb6025950c2891b808b0e23efa827e6 (diff)
downloadlinux-9bfcede4926054b8ee154e92e30dfabecf238ca4.tar.gz
linux-9bfcede4926054b8ee154e92e30dfabecf238ca4.zip
s390/pci: Adjust alignment in insn trace
Currently we have 64bit wide fields start at odd byte-offsets in the insn traces for pci_error in the s390dbf debug area, which are hard to decode in hex dumps. At the same time, trace entries are padded at the end. Drop the packed attribute on the struct definition to exploit the compiler's natural alignment, introduce explicit padding before and after the 64bit fields for humans, and add a static assertion to avoid accidental overruns of 2 lines in the s390dbf trace. Signed-off-by: Gerd Bayer <gbayer@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions