aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2020-10-29 18:31:21 +0100
committerJakub Kicinski <[email protected]>2020-10-31 10:22:49 -0700
commit81b01894d792db8d4746c9c1b39c6e2a94fa0a04 (patch)
treed2948c4a6e75ba853f699dcb98a64e51517fb1ae /tools/perf/util/trace-event-scripting.c
parentd3fd65484c78102bac92f176c53537a7691a38b2 (diff)
net: core: add devm_netdev_alloc_pcpu_stats
We have netdev_alloc_pcpu_stats(), and we have devm_alloc_percpu(). Add a managed version of netdev_alloc_pcpu_stats, e.g. for allocating the per-cpu stats in the probe() callback of a driver. It needs to be a macro for dealing properly with the type argument. Signed-off-by: Heiner Kallweit <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions