Re: [RFC][PATCH 0/3] ftrace: Add dynamically allocated trampolines

From: Jiri Kosina
Date: Thu Jul 10 2014 - 17:44:50 EST

On Thu, 10 Jul 2014, Josh Poimboeuf wrote:

> I did some testing with kpatch and I found one minor issue. The dynamically
> allocated trampoline seems to confuse dump_stack() somewhat.
> I added a dump_stack() call in my ftrace_ops callback function
> (kpatch_ftrace_handler) which had a filter on meminfo_proc_show().

Interesting. Are you using dwarf2 unwinder for stack dumping by any
chance? It seems to get things right here. Will look into it more

Jiri Kosina
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at