aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorAmit Cohen <[email protected]>2020-09-27 10:50:13 +0300
committerDavid S. Miller <[email protected]>2020-09-27 13:27:01 -0700
commit3bdbab3fee87e7d2b29a61ea55808ae9d993f1d2 (patch)
tree5861751ef8f17490555cf1284014e56999b1eb85 /tools/perf/scripts/python/flamegraph.py
parentf21b1a646f812ccc2e56f0d5c804b64f0043ea78 (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/flamegraph.py')
0 files changed, 0 insertions, 0 deletions