]> www.infradead.org Git - users/dwmw2/linux.git/commit
parisc/ftrace: use static key to enable/disable function graph tracer
authorSven Schnelle <svens@stackframe.org>
Sat, 23 Oct 2021 18:21:01 +0000 (20:21 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 1 Nov 2021 06:36:01 +0000 (07:36 +0100)
commit98f2926171aea858b074b714bb6e111d51fa747d
tree766d1b877a34a33c17bb3f41cdfb8bd79832926a
parent44382af89346d612c8d5b88cd0a48895f9863ee9
parisc/ftrace: use static key to enable/disable function graph tracer

This avoids using dereference_function_descriptor in the ftrace code
path, and it's also faster.

Signed-off-by: Sven Schnelle <svens@stackframe.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/ftrace.c