Home
last modified time | relevance | path

Searched refs:ftrace_tramps (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/kernel/trace/
H A Dftrace.c33 static unsigned long ftrace_tramps[NUM_FTRACE_TRAMPS]; variable
101 if (!ftrace_tramps[i]) in find_ftrace_tramp()
103 else if (is_offset_in_branch_range(ftrace_tramps[i] - ip)) in find_ftrace_tramp()
104 return ftrace_tramps[i]; in find_ftrace_tramp()
333 for (i = 0; i < NUM_FTRACE_TRAMPS && ftrace_tramps[i]; i++) in ftrace_free_init_tramp()
334 if (ftrace_tramps[i] == (unsigned long)ftrace_tramp_init) { in ftrace_free_init_tramp()
335 ftrace_tramps[i] = 0; in ftrace_free_init_tramp()
345 if (!ftrace_tramps[i]) { in add_ftrace_tramp()
346 ftrace_tramps[i] = tramp; in add_ftrace_tramp()
H A Dftrace_64_pg.c38 static unsigned long ftrace_tramps[NUM_FTRACE_TRAMPS]; variable
231 if (!ftrace_tramps[i]) in find_ftrace_tramp()
233 else if (is_offset_in_branch_range(ftrace_tramps[i] - ip)) in find_ftrace_tramp()
234 return ftrace_tramps[i]; in find_ftrace_tramp()
244 if (!ftrace_tramps[i]) { in add_ftrace_tramp()
245 ftrace_tramps[i] = tramp; in add_ftrace_tramp()
266 if (ftrace_tramps[i] == tramp) in setup_mcount_compiler_tramp()
722 for (i = 0; i < NUM_FTRACE_TRAMPS && ftrace_tramps[i]; i++) in ftrace_free_init_tramp()
723 if (ftrace_tramps[i] == (unsigned long)ftrace_tramp_init) { in ftrace_free_init_tramp()
724 ftrace_tramps[i] = 0; in ftrace_free_init_tramp()