Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140673
b: refs/heads/master
c: f04109b
h: refs/heads/master
i:
  140671: 096694d
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Jan 29, 2009
1 parent e8bd41a commit 2cbe8d6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 700a3dcb9036d17d3a67d0a7ceee9d4373fbb570
refs/heads/master: f04109bf1be7449e27d38ae1bb8465013374bd49
6 changes: 1 addition & 5 deletions trunk/kernel/trace/trace_branch.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,7 @@ static void stop_branch_trace(struct trace_array *tr)

static int branch_trace_init(struct trace_array *tr)
{
int cpu;

for_each_online_cpu(cpu)
tracing_reset(tr, cpu);

tracing_reset_online_cpus(tr);
start_branch_trace(tr);
return 0;
}
Expand Down
8 changes: 2 additions & 6 deletions trunk/kernel/trace/trace_functions_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,11 @@ static struct tracer_flags tracer_flags = {

static int graph_trace_init(struct trace_array *tr)
{
int cpu, ret;

for_each_online_cpu(cpu)
tracing_reset(tr, cpu);

ret = register_ftrace_graph(&trace_graph_return,
int ret = register_ftrace_graph(&trace_graph_return,
&trace_graph_entry);
if (ret)
return ret;
tracing_reset_online_cpus(tr);
tracing_start_cmdline_record();

return 0;
Expand Down
6 changes: 1 addition & 5 deletions trunk/kernel/trace/trace_nop.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,8 @@ static void stop_nop_trace(struct trace_array *tr)

static int nop_trace_init(struct trace_array *tr)
{
int cpu;
ctx_trace = tr;

for_each_online_cpu(cpu)
tracing_reset(tr, cpu);

tracing_reset_online_cpus(tr);
start_nop_trace(tr);
return 0;
}
Expand Down

0 comments on commit 2cbe8d6

Please sign in to comment.