commit | 6f8b8f3e557dff1700bd345fbbb1bf88db67c200 | [log] [tgz] |
---|---|---|
author | Steven Rostedt <rostedt@goodmis.org> | Mon Aug 19 17:33:27 2013 -0400 |
committer | Clark Williams <clark.williams@gmail.com> | Mon Aug 19 20:02:23 2013 -0500 |
tree | 5f71b5986ef2cf8c7ac5f735a4581bf7cdeda5e1 | |
parent | c8ff28526fcae29439aefe197ba4d7dcd93c9f0f [diff] |
hwlat-detector: Use thread instead of stop machine There's no reason to use stop machine to search for hardware latency. Simply disabling interrupts while running the loop will do enough to check if something comes in that wasn't disabled by interrupts being off, which is exactly what stop machine does. Instead of using stop machine, just have the thread disable interrupts while it checks for hardware latency. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>