aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDanielle Ratson <[email protected]>2021-12-20 12:56:12 +0200
committerDavid S. Miller <[email protected]>2021-12-20 11:32:20 +0000
commit4bcbf50291f3b61ad231d31267842fcc73d7e6fd (patch)
treeff7b4740542b95382365901fac901d737f7e1fed /tools/perf/scripts/python
parentcbbd5fff86e8fd22152982d077ed06b1210f2779 (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')
0 files changed, 0 insertions, 0 deletions