summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2022-03-02 19:31:26 +0300
committerDavid S. Miller <davem@davemloft.net>2022-03-03 13:37:23 +0300
commitc1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9 (patch)
treeddcb598f688591c0948dcaa594ff92c559b55b74 /tools/perf/scripts/python/libxed.py
parent9834e2467c868a670e469ef1176e991ac4aac53d (diff)
downloadlinux-c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9.tar.xz
mlxsw: Extract classification of router-related events to a helper
Several more events are coming in the following patches, and extending the if statement is getting awkward. Instead, convert it to a switch. Signed-off-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions