On Fri, 30 Jan 2015 11:08:19 +0100 (CET)
Miroslav Benes <[email protected]> wrote:

> Anyway I think the problem is the opposite. There should be no 
> ftrace_ops_list_func for dynamic trampoline. See below, please...
> 


> 
> I think so. One thing is the code above. And verification in 
> next-20150130 in qemu, CONFIG_PREEMPT=n,...
> 
> I livepatched /proc/cmdline and there is no other tracing involved
> 
> dsc1:~ # cat /sys/kernel/debug/tracing/enabled_functions
> cmdline_proc_show (1) R I     tramp: 0xffffffffa0004000 
> ->ftrace_ops_list_func+0x0/0x1a0
> dsc1:~
> 
> I think that there should be direct call to the callback function (new 
> cmdline_proc_show). 
> 

Ah, OK I see the issue. Yeah, it shouldn't be that way. I'll have to
fix that.

Thanks,

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to