Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 140622
b: refs/heads/master
c: f000120
h: refs/heads/master
v: v3
  • Loading branch information
Shaohua Li authored and Ingo Molnar committed Jan 14, 2009
1 parent 134fe2d commit 715a6e1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 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: 25aac9dc7c8c73798c1be8aa36141f980d32579e
refs/heads/master: f00012074b1a1a67d9c8603617bbbab267347ca6
4 changes: 4 additions & 0 deletions trunk/include/linux/ftrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ extern int ftrace_update_ftrace_func(ftrace_func_t func);
extern void ftrace_caller(void);
extern void ftrace_call(void);
extern void mcount_call(void);

#ifndef FTRACE_ADDR
#define FTRACE_ADDR ((unsigned long)ftrace_caller)
#endif
#ifdef CONFIG_FUNCTION_GRAPH_TRACER
extern void ftrace_graph_caller(void);
extern int ftrace_enable_ftrace_graph_caller(void);
Expand Down
2 changes: 1 addition & 1 deletion trunk/kernel/trace/ftrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ __ftrace_replace_code(struct dyn_ftrace *rec, int enable)
unsigned long ip, fl;
unsigned long ftrace_addr;

ftrace_addr = (unsigned long)ftrace_caller;
ftrace_addr = (unsigned long)FTRACE_ADDR;

ip = rec->ip;

Expand Down

0 comments on commit 715a6e1

Please sign in to comment.