diff options
| author | Steffen Eiden <seiden@linux.ibm.com> | 2026-06-25 13:56:16 +0200 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-10-15 13:38:25 +0200 |
| commit | 4fde50e2664db572b1a47ab92bde343c6b024ac8 (patch) | |
| tree | 3a4567cb183af091d683f9300a6f67fa81bdc07c /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | b70113c00604ee52c1c18a0b1b498c9bcf5ddfbb (diff) | |
KVM: s390: Use arm64 code
Add the infrastructure to extract KVM/arm64 code into s390 at build
time similar to the arm64 header sharing. Add copy-arm64c.awk that
detects ARM64_S390_COMMON markers and extracts marked section into an
.inc file that can be consumed by arm on s390 host code. If no marker is
found make will fail.
To ensure that no code is consumed twice by accident a guard is added
during file generation. A s390 C file wanting to consume such an inc
file must first define __INCL_GEN_ARM_FILE otherwise the inc file will
emit a compile error.
Example:
#define __INCL_GEN_ARM_FILE
#include <generated/arm.inc>
#undef __INCL_GEN_ARM_FILE
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
