Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100644
b: refs/heads/master
c: 001b676
h: refs/heads/master
v: v3
  • Loading branch information
Steven Rostedt authored and Ingo Molnar committed Jul 11, 2008
1 parent b234c50 commit 2f550a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 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: 007c05d4d2ce42fabd58cb54ed98e0a1714d9d86
refs/heads/master: 001b6767b1d0c89e458e5ddb039245b268f569fb
10 changes: 8 additions & 2 deletions trunk/kernel/trace/trace.h
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,6 @@ void trace_function(struct trace_array *tr,
unsigned long parent_ip,
unsigned long flags);

void tracing_start_function_trace(void);
void tracing_stop_function_trace(void);
void tracing_start_cmdline_record(void);
void tracing_stop_cmdline_record(void);
int register_tracer(struct tracer *type);
Expand All @@ -234,6 +232,14 @@ void update_max_tr_single(struct trace_array *tr,

extern cycle_t ftrace_now(int cpu);

#ifdef CONFIG_FTRACE
void tracing_start_function_trace(void);
void tracing_stop_function_trace(void);
#else
# define tracing_start_function_trace() do { } while (0)
# define tracing_stop_function_trace() do { } while (0)
#endif

#ifdef CONFIG_CONTEXT_SWITCH_TRACER
typedef void
(*tracer_switch_func_t)(void *private,
Expand Down

0 comments on commit 2f550a0

Please sign in to comment.