diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-07-27 13:09:39 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2022-07-27 13:09:39 +0200 |
commit | 9d8dd3725f4032f94d9cf65304559e0780e04ad7 (patch) | |
tree | 8a7a335fbc871810cbcb322599f7d448eeee9330 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a6e6231ac10a0e94ed298de8297574b8944f7bfa (diff) | |
parent | b4b97079a49ec81fa2236fb2ebbba867fff5d4ba (diff) |
Merge patch series "can: export export slcan_ethtool_ops and remove setter functions"
Vincent Mailhol <mailhol.vincent@wanadoo.fr> says:
====================
The c_can, flexcan and slcan use a setter function to populate
net_device::ethtool_ops. Using a setter here add one additional
function call and add some small bloat in the object file. Exporting
the structure allow to remove this setter.
The mcp251xfd uses a similar pattern except that it does some
additional initialization. As such, this driver is left untouched.
* Statistics *
For the slcan driver, this patch reduces the object file by 14 bytes
(details in the first patch). Although we did not conduct a benchmark
for the other drivers but we expect the exact same figures.
====================
Link: https://lore.kernel.org/all/20220727104939.279022-1-mailhol.vincent@wanadoo.fr
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions