Nicholas Piggin wrote:
This doesn't seem very useful to trace before the recursion check, even if the ftrace code has any recursion checks of its own. Be on the safe side and don't trace the hcall trace wrappers.
These functions exist precisely to allow hcalls to be traced, so it doesn't make sense to "trace the tracer". Users wanting to know about hcalls are better off enabling the tracepoint here instead.
Reported-by: Naveen N. Rao <naveen.n....@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npig...@gmail.com> --- arch/powerpc/platforms/pseries/lpar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Naveen N. Rao <naveen.n....@linux.vnet.ibm.com> - Naveen