ftrace_init|-->ftrace_dyn_arch_init(&ftrace_stub)|-->*(unsingedlong*)ftrace_stub =0;|-->memcpy(ftrace_nop, content_of_nop_insn, MCOUNT_INSN_SIZE);|-->count = __stop_mcount_loc -__start_mcount_loc;|-->ret =ftrace_dyn_table_alloc(count)|-->ftrace_pages_start = (void*)ge...
ftrace_free_mem(mod->init_layout.base, mod->init_layout.base + mod->init_layout.size); mutex_lock(&module_mutex); /* Drop initial reference. */ module_put(mod);6 changes: 4 additions & 2 deletions 6 kernel/trace/ftrace.c Original file line numberDiff line numberDiff line change ...
[ 2983.129392] ftrace_startup (kernel/trace/ftrace.c:2146) [ 2983.130679] register_ftrace_function (kernel/trace/ftrace.c:4864) [ 2983.131667] perf_ftrace_event_register (kernel/trace/trace_event_perf.c:356) [ 2983.132590] perf_trace_init (kernel/trace/trace_event_perf.c:187 kernel/trace/t...