diff options
| author | Benjamin Berg <benjamin.berg@intel.com> | 2023-12-20 16:19:48 +0100 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2024-01-03 15:35:07 +0100 |
| commit | b3231d353a51ddfb6ef7d17877d029790190f746 (patch) | |
| tree | 7dbfe1ec17d26eb88c983e3ea82859608dac3afb /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | kunit: add parameter generation macro using description from array (diff) | |
| download | linux-b3231d353a51ddfb6ef7d17877d029790190f746.tar.gz linux-b3231d353a51ddfb6ef7d17877d029790190f746.zip | |
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 <benjamin.berg@intel.com>
Reviewed-by: David Gow <davidgow@google.com>
Link: https://msgid.link/20231220151952.415232-3-benjamin@sipsolutions.net
[adjust file description as discussed]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
