Home
last modified time | relevance | path

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

/linux-6.6.21/arch/sh/kernel/
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-6.6.21/kernel/trace/
Dftrace.c1237 static void free_ftrace_mod(struct ftrace_mod_load *ftrace_mod) in free_ftrace_mod() argument
1239 list_del(&ftrace_mod->list); in free_ftrace_mod()
1240 kfree(ftrace_mod->module); in free_ftrace_mod()
1241 kfree(ftrace_mod->func); in free_ftrace_mod()
1242 kfree(ftrace_mod); in free_ftrace_mod()
1322 struct ftrace_mod_load *ftrace_mod; in ftrace_add_mod() local
1325 ftrace_mod = kzalloc(sizeof(*ftrace_mod), GFP_KERNEL); in ftrace_add_mod()
1326 if (!ftrace_mod) in ftrace_add_mod()
1329 INIT_LIST_HEAD(&ftrace_mod->list); in ftrace_add_mod()
1330 ftrace_mod->func = kstrdup(func, GFP_KERNEL); in ftrace_add_mod()
[all …]