ftrace/x86: Add a counter to test function_graph with direct
Steven Rostedt (VMware) authored

As testing for direct calls from the function graph tracer adds a little
overhead (which is a lot when tracing every function), add a counter that
can be used to test if function_graph tracer needs to test for a direct
caller or not.

It would have been nicer if we could use a static branch, but the static
branch logic fails when used within the function graph tracer trampoline.
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
a3ad1a7e
Name Last commit Last update
Documentation ftrace: Introduce PERMANENT ftrace_ops flag
LICENSES LICENSES: Rename other to deprecated
arch ftrace/x86: Add a counter to test function_graph with direct
block iocost: don't nest spin_lock_irq in ioc_weight_write()
certs PKCS#7: Refactor verify_pkcs7_signature()
crypto Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
drivers Merge tag 'usb-5.4-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
fs Merge tag '5.4-rc6-smb3-fix' of git://git.samba.org/sfrench/cifs-2.6
include ftrace/x86: Add a counter to test function_graph with direct
init Merge branch 'next-lockdown' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
ipc ipc/sem.c: convert to use built-in RCU list checking
kernel ftrace/x86: Add a counter to test function_graph with direct
lib lib/vdso: Make clock_getres() POSIX compliant again
mm mm/thp: allow dropping THP from page cache
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
samples ftrace: Add another example of register_ftrace_direct() use case
scripts Merge tag 'modules-for-v5.4-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux
security efi/efi_test: Lock down /dev/efi_test and require CAP_SYS_ADMIN
sound ALSA: timer: Fix mutex deadlock at releasing card
tools ftrace/selftests: Update the direct call selftests to test two direct calls
usr kbuild: update compile-test header list for v5.4-rc2
virt kvm: call kvm_arch_destroy_vm if vm creation fails
.clang-format clang-format: Update with the latest for_each macro list
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.