summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDavid Laight <david.laight.linux@gmail.com>2026-03-08 11:37:36 +0000
committerThomas Weißschuh <linux@weissschuh.net>2026-03-20 17:55:51 +0100
commit8df70ee45b1383114cdcaa9b2fe7449cdf5f46d5 (patch)
treeb8fb1defd5ac9ab9b050522c46cd9531031d359c /tools/perf/scripts/python/stackcollapse.py
parentb43be424343407661d5e7c79a3584a37b91a88bb (diff)
tools/nolibc/printf: Prepend sign to converted number
Instead of appending the converted number to the sign, convert first and then prepend the sign (or "0x"). Use the length returned by u64toh_r() instead of calling strlen(). Needed so that zero padding can be inserted between the sign and digits in an upcoming patch. Signed-off-by: David Laight <david.laight.linux@gmail.com> Acked-by: Willy Tarreau <w@1wt.eu> Link: https://patch.msgid.link/20260308113742.12649-12-david.laight.linux@gmail.com Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions