Re: [PATCH v3 11/17] arm64: disable function graph tracing with SCS

From: Sami Tolvanen
Date: Fri Nov 01 2019 - 16:33:02 EST


On Thu, Oct 31, 2019 at 8:58 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> IIRC, the argument was to disable these on a per-arch basis instead of
> doing it as a "depends on !SHADOW_CALL_STACK" in the top-level function
> graph tracer Kconfig?

Yes, that's correct.

> (I'm just thinking ahead to doing this again for
> other architectures, though, I guess, there is much more work than just
> that for, say, x86.)

We can always change this later if needed, and possibly figure out how
to make function graph tracing and kretprobes work with SCS.

Sami