summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-12-19 21:55:56 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2024-12-23 22:18:35 +0300
commit614d13462daef9bf6ac735744b5835a18cbfd19c (patch)
tree655ba6e092ccc9a6b5b09f18010d56979e2516fc /tools/perf/scripts/python
parent312f48b2e27f0f8ede4260e024352fdad225d1c5 (diff)
downloadlinux-614d13462daef9bf6ac735744b5835a18cbfd19c.tar.xz
vsprintf: deal with format specifiers with a lookup table
We did the flags as an array earlier, they had simpler rules. The final format specifiers are a bit more complex since they have more fields to deal with, and we want to handle the length modifiers at the same time. But like the flags, we're better off just making it a data-driven table rather than some case statement. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions