diff options
| author | Andrew Lunn <[email protected]> | 2015-12-23 13:23:17 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-12-23 22:17:00 -0500 |
| commit | f5e2ed022dff60d9023d997ed719531129cc1365 (patch) | |
| tree | beaf0d9429a8e5b02828e7fffa978a2c1fea70c6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
| parent | ff5756d0d324b8215c3a498d398071094462f395 (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