aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2024-02-14 15:57:57 +0200
committerDavid S. Miller <[email protected]>2024-02-16 08:32:04 +0000
commitbbf2345fa6582c5292bc5c537e7a29aad918be0c (patch)
treec3042aefba785a7a7a9b01ba68d0090947162d06 /tools/perf/scripts/python/check-perf-trace.py
parenta5f149a97d09cc9340d8fb4e22a3074a7bc1e02d (diff)
net: ravb: Return cached statistics if the interface is down
Return the cached statistics in case the interface is down. There should be no drawback to this, as cached statistics are updated in ravb_close(). In order to avoid accessing the IP registers while the IP is runtime suspended pm_runtime_active() check was introduced. The device runtime PM usage counter has been incremented to avoid disabling the device clocks while the check is in progress (if any). The commit prepares the code for the addition of runtime PM support. Suggested-by: Sergey Shtylyov <[email protected]> Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions