Re: [PATCH 1/1] stackleak: Disable ftrace for stackleak.c

From: Steven Rostedt
Date: Sat Nov 10 2018 - 18:30:38 EST


On Sun, 11 Nov 2018 01:05:30 +0300
Alexander Popov <alex.popov@xxxxxxxxx> wrote:

> The stackleak_erase() function is called on the trampoline stack at the
> end of syscall. This stack is not big enough for ftrace operations,
> e.g. it can be overflowed if we enable kprobe_events for stackleak_erase().

Is the issue with kprobes or with function tracing? Because this stops
function tracing which I only want disabled if function tracing itself
is an issue, not for other things that may use the function tracing
infrastructure.

-- Steve