Searched refs:ftrace_mod (Results 1 – 2 of 2) sorted by relevance
261 static int ftrace_mod(unsigned long ip, unsigned long old_addr, in ftrace_mod() function284 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()
1237 static void free_ftrace_mod(struct ftrace_mod_load *ftrace_mod) in free_ftrace_mod() argument1239 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() local1325 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 …]