summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2025-03-04 16:57:51 +1100
committerChristian Brauner <brauner@kernel.org>2025-03-08 12:13:26 +0100
commit7a329ed2dea95b14e3bd5e4ff0d22f2ce0ba4b86 (patch)
treeae07400872acd12639677e70ae751cac224b9cfc /tools/perf/scripts/python/task-analyzer.py
parent225034cd510a014e673f5c131c77858fc2f372a1 (diff)
initramfs: avoid static buffer for error message
The dynamic error message printed if CONFIG_RD_$ALG compression support is missing needn't be propagated up to the caller via a static buffer. Print it immediately via pr_err() and set @message to a const string to flag error. Before: text data bss dec hex filename 8006 1118 8 9132 23ac init/initramfs.o After: text data bss dec hex filename 7938 1022 8 8968 2308 init/initramfs.o Signed-off-by: David Disseldorp <ddiss@suse.de> Link: https://lore.kernel.org/r/20250304061020.9815-9-ddiss@suse.de Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions