summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2025-01-24 14:51:52 +0100
committerAlexander Gordeev <agordeev@linux.ibm.com>2025-01-28 15:12:06 +0100
commit7cbae7ea3de5c17b47aeb34a770446aba1eaa904 (patch)
tree0c2248e9e6ddecdaf8d51d802958b7a5ead63d61 /tools/perf/scripts/python/flamegraph.py
parentb05d66c882994fb63e8435bf64f262ef44c51874 (diff)
s390/tools: Use array instead of string initializer
The in-kernel disassembler intentionally uses nun-null terminated strings in order to keep the arrays which contain mnemonics as small as possible. GCC 15 however warns about this: ./arch/s390/include/generated/asm/dis-defs.h:1662:71: error: initializer-string for array of ‘char’ is too long [-Werror=unterminated-string-initialization] 1662 | [1261] = { .opfrag = 0xea, .format = INSTR_SS_L0RDRD, .name = "unpka" }, \ Get rid of this warning by using array initializers. Reviewed-by: Jens Remus <jremus@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions