Home
last modified time | relevance | path

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

/linux/arch/sh/kernel/
H A Dftrace.c261 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() function
284 return ftrace_mod(ip, old_addr, new_addr); in ftrace_enable_ftrace_graph_caller()
295 return ftrace_mod(ip, old_addr, new_addr); in ftrace_disable_ftrace_graph_caller()
/linux/kernel/trace/
H A Dftrace.c1265 static void free_ftrace_mod(struct ftrace_mod_load *ftrace_mod) in free_ftrace_mod() argument
1267 list_del(&ftrace_mod->list); in free_ftrace_mod()
1268 kfree(ftrace_mod->module); in free_ftrace_mod()
1269 kfree(ftrace_mod->func); in free_ftrace_mod()
1270 kfree(ftrace_mod); in free_ftrace_mod()
1350 struct ftrace_mod_load *ftrace_mod; in ftrace_add_mod() local
1353 ftrace_mod = kzalloc(sizeof(*ftrace_mod), GFP_KERNEL); in ftrace_add_mod()
1354 if (!ftrace_mod) in ftrace_add_mod()
1357 INIT_LIST_HEAD(&ftrace_mod->list); in ftrace_add_mod()
1358 ftrace_mod->func = kstrdup(func, GFP_KERNEL); in ftrace_add_mod()
[all …]