aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorTobias Waldekranz <tobias@waldekranz.com>2023-12-14 14:50:25 +0100
committerDavid S. Miller <davem@davemloft.net>2023-12-15 11:05:02 +0000
commit5780acbd249911fa101c53f3616d0aec5906211e (patch)
tree6d51f51abcf56c18b155ac07acc3013a4dd5d96f /tools/perf/scripts/python
parentnet: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path (diff)
downloadlinux-5780acbd249911fa101c53f3616d0aec5906211e.tar.gz
linux-5780acbd249911fa101c53f3616d0aec5906211e.zip
net: dsa: mv88e6xxx: Give each hw stat an ID
With the upcoming standard counter group support, we are no longer reading out the whole set of counters, but rather mapping a subset to the requested group. Therefore, create an enum with an ID for each stat, such that mv88e6xxx_hw_stats[] can be subscripted with a human-readable ID corresponding to the counter's name. Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions