diff options
| author | David Laight <david.laight.linux@gmail.com> | 2026-03-02 10:17:56 +0000 |
|---|---|---|
| committer | Thomas Weißschuh <linux@weissschuh.net> | 2026-03-20 17:46:02 +0100 |
| commit | 9aa8a4afd4e6407a4d4521c325855c4467a88b73 (patch) | |
| tree | cc1665cf37f15c17eac0fb5588ac122d0540d738 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b42f02da2bf99460a7b1c5c25008f2e4a65ea4e3 (diff) | |
selftests/nolibc: check vsnprintf() output buffer before the length
Check the string matches before checking the returned length.
Only print the string once when it matches.
Makes it a lot easier to diagnose any incorrect output.
Signed-off-by: David Laight <david.laight.linux@gmail.com>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://patch.msgid.link/20260302101815.3043-5-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
