summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorDavid Laight <david.laight.linux@gmail.com>2026-03-02 10:17:54 +0000
committerThomas Weißschuh <linux@weissschuh.net>2026-03-20 17:46:00 +0100
commit4045e7b19bbf7338452cda11e64cfe7ae3361964 (patch)
treef05c964ca64518637f45970a37fd53b1c4a2c9ca /tools/perf/scripts/python/bin/stackcollapse-record
parentf675ae28fcdf7db93a8c1a6964f062725b1e06a0 (diff)
tools/nolibc/printf: Move snprintf length check to callback
Move output truncation to the snprintf() callback. This simplifies the main code and fixes truncation of padded fields. Add a zero length callback to 'finalise' the buffer rather than doing it in snprintf() itself. Fixes: e90ce42e81381 ("tools/nolibc: implement width padding in printf()") Signed-off-by: David Laight <david.laight.linux@gmail.com> Acked-by: Willy Tarreau <w@1wt.eu> Link: https://patch.msgid.link/20260302101815.3043-3-david.laight.linux@gmail.com [Thomas: clean up Fixes trailer] Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions