diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-17 08:37:20 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-17 08:37:20 +0100 |
commit | e4106133341121aeaad732d4613de06d9033b5ac (patch) | |
tree | 8d7ecb57fdefdfac5bdff6ee3a82485e2ea4340a /kernel/trace/trace.c | |
parent | 7243f2145a9b06e5cf9a49fc9b8b9a4fff6fb42e (diff) | |
parent | 2fc1dfbe17e7705c55b7a99da995fa565e26f151 (diff) |
Merge branch 'tracing/syscalls' into tracing/core
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index efe3202c020..ae32d3b99b4 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -2494,7 +2494,7 @@ static int tracing_set_tracer(const char *buf) if (!ring_buffer_expanded) { ret = tracing_resize_ring_buffer(trace_buf_size); if (ret < 0) - return ret; + goto out; ret = 0; } @@ -4125,7 +4125,8 @@ __init static int tracer_alloc_buffers(void) &trace_panic_notifier); register_die_notifier(&trace_die_notifier); - ret = 0; + + return 0; out_free_cpumask: free_cpumask_var(tracing_reader_cpumask); |