diff options
author | Danielle Ratson <[email protected]> | 2021-12-20 12:56:12 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-12-20 11:32:20 +0000 |
commit | 4bcbf50291f3b61ad231d31267842fcc73d7e6fd (patch) | |
tree | ff7b4740542b95382365901fac901d737f7e1fed /tools/perf/scripts/python/stackcollapse.py | |
parent | cbbd5fff86e8fd22152982d077ed06b1210f2779 (diff) |
mlxsw: core: Convert a series of if statements to switch case
Convert a series of if statements that handle different events to a
switch case statement. Encapsulate the per-event code in different
functions to simplify the code.
This is a preparation for subsequent patches that will add more events
that need to be handled.
Signed-off-by: Danielle Ratson <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions