]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Do a WARN_ON() if start_thread() in hwlat is called when thread exists
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Aug 2018 20:06:02 +0000 (16:06 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Wed, 1 Aug 2018 20:06:02 +0000 (16:06 -0400)
commit5b0fb833cce15d36c8d8bbc31b6618b36f7b8308
tree1cafefa160f1cfb9a397a7526860a9088ea48ac0
parent7cde28a694fbb4407c241147abbf0f2cb5fb8536
tracing: Do a WARN_ON() if start_thread() in hwlat is called when thread exists

The start function of the hwlat tracer should never be called when the hwlat
thread already exists. If it is called, do a WARN_ON().

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace_hwlat.c