]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tracing: Treat recording comm for idle task as a success
authorJoel Fernandes <joelaf@google.com>
Thu, 6 Jul 2017 23:00:21 +0000 (16:00 -0700)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Fri, 7 Jul 2017 13:04:14 +0000 (09:04 -0400)
commiteaf260ac04d9b4cf9f458d5c97555bfff2da526e
tree58976c115d572ef087ead52603ea8c1e66c90352
parent99c621d704cf1c4eb74c3c42e674edf3df64f92d
tracing: Treat recording comm for idle task as a success

Currently we stop recording comm for non-idle tasks when switching from/to idle
task since we treat that as a record failure. Fix that by treat recording of
comm for idle task as a success.

Link: http://lkml.kernel.org/r/20170706230023.17942-1-joelaf@google.com
Cc: kernel-team@android.com
Cc: Ingo Molnar <mingo@redhat.com>
Reported-by: Michael Sartain <mikesart@gmail.com>
Signed-off-by: Joel Fernandes <joelaf@google.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
kernel/trace/trace.c