aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorAndrew Lunn <[email protected]>2015-12-23 13:23:17 +0100
committerDavid S. Miller <[email protected]>2015-12-23 22:17:00 -0500
commitf5e2ed022dff60d9023d997ed719531129cc1365 (patch)
treebeaf0d9429a8e5b02828e7fffa978a2c1fea70c6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentff5756d0d324b8215c3a498d398071094462f395 (diff)
dsa: mv88e6xxx: Add Second back of statistics
The 6320 family of switch chips has a second bank for statistics, but is missing three statistics in the port registers. Generalise and extend the code: * adding a field to the statistics table indicating the bank/register set where each statistics is. * add a function indicating if an individual statistics is available on this device * calculate at run time the sset_count. * return strings based on the available statistics of the device * return statistics based on the available statistics of the device * Add support for reading from the second bank. Signed-off-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions