aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@gmx.de>2023-05-16 11:36:04 +0200
committerTakashi Iwai <tiwai@suse.de>2023-05-17 17:07:52 +0200
commitdc39bb3e4c25b784899cce572e539055898b2c73 (patch)
treef9247c6c2062b90a61db260b993228b3e42f10b7 /tools/perf/scripts/python/syscall-counts.py
parentALSA: emu10k1: make some initializer arrays less wasteful (diff)
downloadlinux-dc39bb3e4c25b784899cce572e539055898b2c73.tar.gz
linux-dc39bb3e4c25b784899cce572e539055898b2c73.zip
ALSA: emu10k1: compactize E-MU routing source arrays
Use macros to avoid duplication. Arguably, this is somewhat less legible, but future additions would grow this part of the file to completely unmanageable dimensions. The EMU*_COMMON_TEXTS macros will save duplication in a future commit; I pulled them ahead to reduce churn. While rewriting the tables anyway, rearrange them such that each card's strings and registers are adjacent. Also, add some static asserts to verify that the array sizes match. Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230516093612.3536508-3-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions