summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-05-30 09:42:39 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-06 18:57:29 -0700
commitd2b095b62f6197afdf7917bace50ac3bc5725a9b (patch)
treec244d6acc2160766c0a7f9458d0cc134381e3dbb /sound
parent097ccbebd9aa79940c714330195fa02dc237e728 (diff)
tracing: Try again for saved cmdline if failed due to locking
commit 379cfdac37923653c9d4242d10052378b7563005 upstream. In order to prevent the saved cmdline cache from being filled when tracing is not active, the comms are only recorded after a trace event is recorded. The problem is, a comm can fail to be recorded if the trace_cmdline_lock is held. That lock is taken via a trylock to allow it to happen from any context (including NMI). If the lock fails to be taken, the comm is skipped. No big deal, as we will try again later. But! Because of the code that was added to only record after an event, we may not try again later as the recording is made as a oneshot per event per CPU. Only disable the recording of the comm if the comm is actually recorded. Fixes: 7ffbd48d5cab "tracing: Cache comms only after an event occurred" Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions