Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100633
b: refs/heads/master
c: ada6b83
h: refs/heads/master
i:
  100631: 8f5937b
v: v3
  • Loading branch information
Thomas Gleixner committed May 23, 2008
1 parent 1cf1d8d commit 9664ed1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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: d618b3e6e50970a6248ac857653fdd49bcd3c045
refs/heads/master: ada6b835067dc022f11cdae1c313a3710d3d977c
10 changes: 5 additions & 5 deletions trunk/kernel/trace/trace_sysprof.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ static void stop_stack_timers(void)
stop_stack_timer(cpu);
}

static notrace void stack_reset(struct trace_array *tr)
static void stack_reset(struct trace_array *tr)
{
int cpu;

Expand All @@ -165,7 +165,7 @@ static notrace void stack_reset(struct trace_array *tr)
tracing_reset(tr->data[cpu]);
}

static notrace void start_stack_trace(struct trace_array *tr)
static void start_stack_trace(struct trace_array *tr)
{
mutex_lock(&sample_timer_lock);
stack_reset(tr);
Expand All @@ -174,23 +174,23 @@ static notrace void start_stack_trace(struct trace_array *tr)
mutex_unlock(&sample_timer_lock);
}

static notrace void stop_stack_trace(struct trace_array *tr)
static void stop_stack_trace(struct trace_array *tr)
{
mutex_lock(&sample_timer_lock);
stop_stack_timers();
tracer_enabled = 0;
mutex_unlock(&sample_timer_lock);
}

static notrace void stack_trace_init(struct trace_array *tr)
static void stack_trace_init(struct trace_array *tr)
{
sysprof_trace = tr;

if (tr->ctrl)
start_stack_trace(tr);
}

static notrace void stack_trace_reset(struct trace_array *tr)
static void stack_trace_reset(struct trace_array *tr)
{
if (tr->ctrl)
stop_stack_trace(tr);
Expand Down

0 comments on commit 9664ed1

Please sign in to comment.