diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2022-07-27 14:35:10 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-07-29 08:24:37 +0300 |
commit | 3bb0844e7bcd0fb0bcfab6202b5edd349ef5250a (patch) | |
tree | 01d5e4da4ad6d0868003df6c0e0b7c978eef12ea /tools/perf/scripts/python/syscall-counts.py | |
parent | 29192a170e1579ac8293d00c88d9938c2b2f5aab (diff) | |
download | linux-3bb0844e7bcd0fb0bcfab6202b5edd349ef5250a.tar.xz |
net: dsa: qca8k: cache match data to speed up access
Using of_device_get_match_data is expensive. Cache match data to speed
up access and rework user of match data to use the new cached value.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions