diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-15 21:44:15 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-12-23 22:18:35 +0300 |
commit | be503db4d0f217bb1bb4b3e3639402d386378d1b (patch) | |
tree | e2bef50c1a8ed68447c003a3ae8bc1718bf46137 /tools/perf/scripts/python/task-analyzer.py | |
parent | 4bbf9020becbfd8fc2c3da790855b7042fad455b (diff) | |
download | linux-be503db4d0f217bb1bb4b3e3639402d386378d1b.tar.xz |
vsprintf: simplify number handling
Instead of dealing with all the different special types (size_t,
unsigned char, ptrdiff_t..) just deal with the size of the integer type
and the sign.
This avoids a lot of unnecessary case statements, and the games we play
with the value of the 'SIGN' flags value
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions