]> git.baikalelectronics.ru Git - kernel.git/commit
tracing: Make TRACE_ITER_STOP_ON_FREE stop the correct buffer
authorAlexander Z Lam <azl@google.com>
Sat, 3 Aug 2013 01:36:15 +0000 (18:36 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 3 Aug 2013 02:39:29 +0000 (22:39 -0400)
commit3c65b880f84f859f8d17dee26cd12fce90cb5eec
tree5264b7da9d3a01be06880c35ddcb6ccbc63b2f37
parentf2d8442c802a9a8ebf5c16d050d25eddabca3437
tracing: Make TRACE_ITER_STOP_ON_FREE stop the correct buffer

Releasing the free_buffer file in an instance causes the global buffer
to be stopped when TRACE_ITER_STOP_ON_FREE is enabled. Operate on the
correct buffer.

Link: http://lkml.kernel.org/r/1375493777-17261-1-git-send-email-azl@google.com
Cc: Vaibhav Nagarnaik <vnagarnaik@google.com>
Cc: David Sharp <dhsharp@google.com>
Cc: Alexander Z Lam <lambchop468@gmail.com>
Cc: stable@vger.kernel.org # 3.10
Signed-off-by: Alexander Z Lam <azl@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c