#ifndef _ASM_X86_FTRACE_H #define _ASM_X86_FTRACE_H #ifdef CONFIG_FUNCTION_TRACER #ifdef CC_USING_FENTRY # define MCOUNT_ADDR ((unsigned long)(__fentry__)) #else # define MCOUNT_ADDR ((unsigned long)(mcount)) # define HAVE_FUNCTION_GRAPH_FP_TEST #endif #define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */ #ifdef CONFIG_DYNAMIC_FTRACE #define ARCH_SUPPORTS_FTRACE_OPS 1 #endif #define HAVE_FUNCTION_GRAPH_RET_ADDR_PTR #ifndef __ASSEMBLY__ extern void mcount(void); extern atomic_t modifying_ftrace_code; extern void __fentry__(void);
static inline unsigned long ftrace_call_adjust(unsigned long addr) { /* * addr is the address of the mcount call instruction. * recordmcount does the necessary offset calculation. */ return addr; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Steven Rostedt | 15 | 93.75% | 1 | 50.00% |
Martin Schwidefsky | 1 | 6.25% | 1 | 50.00% |
Total | 16 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Steven Rostedt | 22 | 95.65% | 1 | 50.00% |
Andrew Lutomirski | 1 | 4.35% | 1 | 50.00% |
Total | 23 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Steven Rostedt | 136 | 77.27% | 14 | 60.87% |
Abhishek Sagar | 25 | 14.20% | 1 | 4.35% |
Josh Poimboeuf | 6 | 3.41% | 2 | 8.70% |
H. Peter Anvin | 3 | 1.70% | 1 | 4.35% |
Minfei Huang | 2 | 1.14% | 1 | 4.35% |
Cyrill V. Gorcunov | 1 | 0.57% | 1 | 4.35% |
Adam Buchbinder | 1 | 0.57% | 1 | 4.35% |
Andrew Lutomirski | 1 | 0.57% | 1 | 4.35% |
Martin Schwidefsky | 1 | 0.57% | 1 | 4.35% |
Total | 176 | 100.00% | 23 | 100.00% |