diff options
author | Willy Tarreau <w@1wt.eu> | 2022-02-07 17:23:33 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-20 17:05:44 -0700 |
commit | 7e4346f4a3a611a6233ba388080c1426545da4fc (patch) | |
tree | 45cea3f8e81daf181e88032ee899dafca9c37808 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | e3e19052d54db8d492b8f82f8516139469bad5d3 (diff) |
tools/nolibc/stdio: add a minimal [vf]printf() implementation
This adds a minimal vfprintf() implementation as well as the commonly
used fprintf() and printf() that rely on it.
For now the function supports:
- formats: %s, %c, %u, %d, %x
- modifiers: %l and %ll
- unknown chars are considered as modifiers and are ignored
It is designed to remain minimalist, despite this printf() is 549 bytes
on x86_64. It would be wise not to add too many formats.
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions