Merge branch 'tip/perf/core-2' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...
authorIngo Molnar <mingo@kernel.org>
Tue, 21 Aug 2012 09:36:39 +0000 (11:36 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 21 Aug 2012 09:36:49 +0000 (11:36 +0200)
Pull ftrace fixlets from Steve Rostedt.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
kernel/trace/trace.c

diff --combined kernel/trace/trace.c
@@@ -426,15 -426,15 +426,15 @@@ __setup("trace_buf_size=", set_buf_size
  
  static int __init set_tracing_thresh(char *str)
  {
-       unsigned long threshhold;
+       unsigned long threshold;
        int ret;
  
        if (!str)
                return 0;
-       ret = strict_strtoul(str, 0, &threshhold);
+       ret = strict_strtoul(str, 0, &threshold);
        if (ret < 0)
                return 0;
-       tracing_thresh = threshhold * 1000;
+       tracing_thresh = threshold * 1000;
        return 1;
  }
  __setup("tracing_thresh=", set_tracing_thresh);
@@@ -3187,10 -3187,10 +3187,10 @@@ static int tracing_set_tracer(const cha
        }
        destroy_trace_option_files(topts);
  
 -      current_trace = t;
 +      current_trace = &nop_trace;
  
 -      topts = create_trace_option_files(current_trace);
 -      if (current_trace->use_max_tr) {
 +      topts = create_trace_option_files(t);
 +      if (t->use_max_tr) {
                int cpu;
                /* we need to make per cpu buffer sizes equivalent */
                for_each_tracing_cpu(cpu) {
                        goto out;
        }
  
 +      current_trace = t;
        trace_branch_enable(tr);
   out:
        mutex_unlock(&trace_types_lock);