aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2022-03-02 18:31:26 +0200
committerDavid S. Miller <davem@davemloft.net>2022-03-03 10:37:23 +0000
commitc1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9 (patch)
treeddcb598f688591c0948dcaa594ff92c559b55b74 /tools/perf/scripts/python/export-to-postgresql.py
parentmlxsw: spectrum_router: Drop mlxsw_sp arg from counter alloc/free functions (diff)
downloadlinux-dev-c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9.tar.xz
linux-dev-c1de13f91ee5afeec3a1eaa9d4818ab48f8f96d9.zip
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions