summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorAndreas Grapentin <gra@linux.ibm.com>2026-11-05 15:14:29 +0100
committerChristian Borntraeger <borntraeger@linux.ibm.com>2026-11-09 10:39:38 +0100
commitff662d60374cd8858d1209f678f5f01b1b0be7c1 (patch)
treeb9ba42c33698f3a691758b091d856e93cb845632 /tools/perf/scripts/python/bin/stackcollapse-report
parent62aef2c04e0e69a9b88affa74ff699ce5c4e8652 (diff)
KVM: s390: arm64: Tolerate unused functions in extracted source
Extracting static declared arm64 functions with no consumer on the s390 side into the generated sources causes compiler warnings when subsuming the generated sources from s390. This causes spurious compiler warnings that make it harder to extract larger, more cohesive portions of the arm64 source. Update the extraction logic to wrap the extracted source into diagnostic pragmas to disable -Wunused-function for the extracted block. This allows us to share more freely, and also opens up more paths for future code sharing with a separation of extraction and definition of consumers in separate commits. Obviously no functional change intended. Signed-off-by: Andreas Grapentin <gra@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Acked-by: Christian Borntraeger <borntraeger@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