summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2023-12-20 16:19:47 +0100
committerJohannes Berg <johannes.berg@intel.com>2024-01-03 15:35:04 +0100
commit292010ee509443a1383bb079a4fa80515aa89a7f (patch)
tree4185e49ceb3c01c4df61d6688ada2ed66ac427d5 /tools/perf/scripts/python/export-to-sqlite.py
parenta5bb4e1a3748e650e664e9d44feb30daa9851945 (diff)
kunit: add parameter generation macro using description from array
The existing KUNIT_ARRAY_PARAM macro requires a separate function to get the description. However, in a lot of cases the description can just be copied directly from the array. Add a second macro that avoids having to write a static function just for a single strscpy. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Reviewed-by: David Gow <davidgow@google.com> Link: https://msgid.link/20231220151952.415232-2-benjamin@sipsolutions.net 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