summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-04-12 17:22:18 +0100
committerLinus Walleij <linus.walleij@linaro.org>2022-04-22 22:58:23 +0200
commit8d2d607c6cd8c8bcbfdb8b399a1d28af27bb238d (patch)
treea379dd975189814de3197cf467759af94bfd0fbd /tools/perf/scripts/python/export-to-postgresql.py
parentf01143f291b2e560a1641647c96e7da7b4064ddc (diff)
pinctrl: ingenic: Garbage-collect code paths for SoCs disabled by config
By being a bit smarter about how the SoC version checks are performed, it is possible to have all the code paths that correspond to SoCs disabled in the kernel config automatically marked as dead code by the compiler, and therefore garbage-collected. With this patch, when compiling a kernel that only targets the JZ4760 for instance, the driver is now about 4.5 KiB smaller. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20220412162218.32509-1-paul@crapouillou.net Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions