diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-03-17 03:37:20 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-03-17 03:37:20 -0400 |
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 efe3202c0209..ae32d3b99b4b 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -2494,7 +2494,7 @@ static int tracing_set_tracer(const char *buf) | |||
2494 | if (!ring_buffer_expanded) { | 2494 | if (!ring_buffer_expanded) { |
2495 | ret = tracing_resize_ring_buffer(trace_buf_size); | 2495 | ret = tracing_resize_ring_buffer(trace_buf_size); |
2496 | if (ret < 0) | 2496 | if (ret < 0) |
2497 | return ret; | 2497 | goto out; |
2498 | ret = 0; | 2498 | ret = 0; |
2499 | } | 2499 | } |
2500 | 2500 | ||
@@ -4125,7 +4125,8 @@ __init static int tracer_alloc_buffers(void) | |||
4125 | &trace_panic_notifier); | 4125 | &trace_panic_notifier); |
4126 | 4126 | ||
4127 | register_die_notifier(&trace_die_notifier); | 4127 | register_die_notifier(&trace_die_notifier); |
4128 | ret = 0; | 4128 | |
4129 | return 0; | ||
4129 | 4130 | ||
4130 | out_free_cpumask: | 4131 | out_free_cpumask: |
4131 | free_cpumask_var(tracing_reader_cpumask); | 4132 | free_cpumask_var(tracing_reader_cpumask); |