Re: [PATCH v10 12/12] tracing: define trace_dump_stack() if !CONFIG_STACKTRACE

From: Masami Hiramatsu
Date: Fri Oct 11 2013 - 09:00:30 EST


(2013/10/11 9:48), Tom Zanussi wrote:
> If CONFIG_STACKTRACE is turned off, trace_dump_stack() isn't defined,
> resulting in an 'undefined reference' error - define a stub to remedy
> that.
>
> Signed-off-by: Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>

Hmm, what kernel config caused that error?
It seems that the CONFIG_STACKTRACE is forced on if it is required.
And if you have found such case, IMHO, we should turn on the CONFIG_STACKTRACE
in Kconfig.
(Also, if it is not related to this series, it should be reported as a separated
bugfix :) )

Thank you,


--
Masami HIRAMATSU
IT Management Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@xxxxxxxxxxx


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