aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2020-05-23 15:27:09 +0200
committerDavid S. Miller <[email protected]>2020-05-23 16:56:17 -0700
commitf75063abc39441585a13fcc5b9ef3af993e9ac40 (patch)
tree4159a8ce4a8e566442ee3a764d08661aa087ff21 /tools/perf/scripts/python/stackcollapse.py
parentcb8a14b205699fee1053a406e1e3fce330b6bdc3 (diff)
net: devres: define a separate devres structure for devm_alloc_etherdev()
Not using a proxy structure to store struct net_device doesn't save anything in terms of compiled code size or memory usage but significantly decreases the readability of the code with all the pointer casting. Define struct net_device_devres and use it in devm_alloc_etherdev_mqs(). Signed-off-by: Bartosz Golaszewski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions