aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorBenjamin Berg <[email protected]>2023-12-20 16:19:48 +0100
committerJohannes Berg <[email protected]>2024-01-03 15:35:07 +0100
commitb3231d353a51ddfb6ef7d17877d029790190f746 (patch)
tree7dbfe1ec17d26eb88c983e3ea82859608dac3afb /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent292010ee509443a1383bb079a4fa80515aa89a7f (diff)
kunit: add a convenience allocation wrapper for SKBs
Add a simple convenience helper to allocate and zero fill an SKB for the use by a kunit test. Also provide a way to free it again in case that may be desirable. This simply mirrors the kunit_kmalloc API. Signed-off-by: Benjamin Berg <[email protected]> Reviewed-by: David Gow <[email protected]> Link: https://msgid.link/[email protected] [adjust file description as discussed] Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions