OSDN Git Service

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)
commit978defee11a5d54f8f546e79867d2aab1b50606b
tree1cafefa160f1cfb9a397a7526860a9088ea48ac0
parent82fbc8c48adffd73297e7edbd7266a89d00cc52f
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