diff options
author | Alexander Z Lam <[email protected]> | 2013-07-10 17:34:34 -0700 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2013-07-18 21:31:30 -0400 |
commit | 609e85a70bcd0eedf4ec60639dbcfb1ab011e054 (patch) | |
tree | 2d977d898d4c781198935482659dd0174e0b9218 /lib/memory-notifier-error-inject.c | |
parent | a232e270dcb55a70ad3241bc6fc160fd9b5c9e6c (diff) |
tracing: Fix error handling to ensure instances can always be removed
Remove debugfs directories for tracing instances during creation if an error
occurs causing the trace_array for that instance to not be added to
ftrace_trace_arrays. If the directory continues to exist after the error, it
cannot be removed because the respective trace_array is not in
ftrace_trace_arrays.
Link: http://lkml.kernel.org/r/[email protected]
Cc: [email protected] # 3.10
Cc: Vaibhav Nagarnaik <[email protected]>
Cc: David Sharp <[email protected]>
Cc: Alexander Z Lam <[email protected]>
Signed-off-by: Alexander Z Lam <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions