Skip to content

Commit

Permalink
ftrace: remove notrace
Browse files Browse the repository at this point in the history
Remove the notrace annotations. The build logic takes care of that.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Thomas Gleixner committed May 23, 2008
1 parent d618b3e commit ada6b83
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions 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 ada6b83

Please sign in to comment.