aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2010-12-08 14:29:02 +0000
committerIngo Molnar <[email protected]>2010-12-08 19:16:31 +0000
commitc277443cfc29b1623b4923219ff0bdb48b91b589 (patch)
tree0655516f81164a42dfb06e416b54c50cac33f433 /tools/perf/scripts/python/netdev-times.py
parentperf, amd: Remove the nb lock (diff)
downloadkernel-c277443cfc29b1623b4923219ff0bdb48b91b589.tar.gz
kernel-c277443cfc29b1623b4923219ff0bdb48b91b589.zip
perf: Stop all counters on reboot
Use the reboot notifier to detach all running counters on reboot, this solves a problem with kexec where the new kernel doesn't expect running counters (rightly so). It will however decrease the coverage of the NMI watchdog. Making a kexec specific reboot notifier callback would be best, however that would require touching all notifier callback handlers as they are not properly structured to deal with new state. As a compromise, place the perf reboot notifier at the very last position in the list. Reported-by: Yinghai Lu <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Vivek Goyal <[email protected]> Cc: Eric W. Biederman <[email protected]> Cc: Jason Wessel <[email protected]> Cc: Don Zickus <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions