aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorPaul Gortmaker <[email protected]>2018-09-20 21:44:21 -0400
committerAndy Shevchenko <[email protected]>2018-09-27 12:18:08 +0300
commitf7eaf3fb9d10cc72669fe8c8bd204087a65e50f6 (patch)
treec362a4cbfa28eb5e56528eccd6a1fcdabb439135 /tools/perf/scripts/python/check-perf-trace.py
parent1d0c3fd01afbd52cc365460d46176b6b4131960d (diff)
platform/x86: acerhdf: restructure to allow large BIOS table be __initconst
There is a table of Vendor/Model/Version {control data} in this driver, but outside of the initial probe, the V/M/V is never used again, and neither are any of the entries for platforms other than the one which matches the running target. By simply storing the {control data} for the matched platform, we can mark the large table __initconst, which reduces the loaded driver size by 20 percent. Before: root@gw:~/git/linux-head# lsmod Module Size Used by acerhdf 20480 0 root@gw:~/git/linux-head# After: root@gw:~/git/linux-head# lsmod Module Size Used by acerhdf 16384 0 root@gw:~/git/linux-head# Cc: Peter Feuerer <[email protected]> Cc: Darren Hart <[email protected]> Cc: Andy Shevchenko <[email protected]> Signed-off-by: Paul Gortmaker <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Peter Feuerer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions