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

From: Steven Rostedt
Date: Mon Nov 12 2018 - 12:21:53 EST


On Mon, 12 Nov 2018 19:51:00 +0300
Alexander Popov <alex.popov@xxxxxxxxx> wrote:

> By the way, are there any other tracing/instrumentation mechanisms that should
> be disabled?

ftrace and kprobes are pretty much the only ones that currently do self
modification of code all over the kernel. Kprobes even more so than
ftrace.

-- Steve