aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlexander Lobakin <[email protected]>2022-03-21 11:59:53 +0100
committerTony Nguyen <[email protected]>2022-04-07 08:20:10 -0700
commit07a28842bb4f65e66aa297a031a57dec4828d6a0 (patch)
tree0e2a2c82149075ebbe7982ffed753e505daf1211 /tools/perf/scripts/python
parent1b699f81dba78c724f6f94b02f01e216b64bf88b (diff)
ice: switch: use convenience macros to declare dummy pkt templates
Declarations of dummy/template packet headers and offsets can be minified to improve readability and simplify adding new templates. Move all the repetitive constructions into two macros and let them do the name and type expansions. Linewrap removal is yet another positive side effect. Signed-off-by: Alexander Lobakin <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Tested-by: Marcin Szycik <[email protected]> Tested-by: Sandeep Penigalapati <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions