diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-03-08 11:37:40 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-03-20 17:58:10 +0100 |
| commit | d3d3f64f8e964f8af6ac72294e65caad5acc452e (patch) | |
| tree | 361bf2113796e008ce2f2b82df8b6e11bf761d83 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b5f3f59cf4384a8c9e60fa4bb1a8f4ad71126a90 (diff) | |
tools/nolibc/printf: Add support for zero padding and field precision
Includes support for variable field widths (eg "%*.*d").
Zero padding is limited to 31 zero characters.
This is wider than the largest numeric field so shouldn't be a problem.
All the standard printf formats are now supported except octal
and floating point.
Add tests for new features
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260308113742.12649-16-david.laight.linux@gmail.com
[Thomas: fixup testcases for musl libc]
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
