diff options
| author | Amit Cohen <[email protected]> | 2020-09-27 10:50:13 +0300 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2020-09-27 13:27:01 -0700 |
| commit | 3bdbab3fee87e7d2b29a61ea55808ae9d993f1d2 (patch) | |
| tree | 5861751ef8f17490555cf1284014e56999b1eb85 /tools/perf/scripts/python | |
| parent | f21b1a646f812ccc2e56f0d5c804b64f0043ea78 (diff) | |
mlxsw: spectrum: Initialize netdev's module overheat counter
The overheat counter is a per-module counter, but it is exposed as part
of the corresponding netdev's statistics. It should therefore be
presented to user space relative to the netdev's lifetime.
Query the counter just before registering the netdev, so that the value
exposed to user space will be relative to this initial value.
Signed-off-by: Amit Cohen <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions