aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-06-26 10:57:21 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-06-26 11:53:03 -0400
commitd7fbf8df7ca0a5c7e85db79f7005f99cb461c525 (patch)
tree71911a278dd6da98089642b255384b9ded6345a1 /include/linux/ftrace.h
parentftrace: Have the cached module list show in set_ftrace_filter (diff)
downloadwireguard-linux-d7fbf8df7ca0a5c7e85db79f7005f99cb461c525.tar.xz
wireguard-linux-d7fbf8df7ca0a5c7e85db79f7005f99cb461c525.zip
ftrace: Implement cached modules tracing on module load
If a module is cached in the set_ftrace_filter, and that module is loaded, then enable tracing on that module as if the cached module text was written into set_ftrace_filter just as the module is loaded. # echo ":mod:kvm_intel" > # cat /sys/kernel/tracing/set_ftrace_filter #### all functions enabled #### :mod:kvm_intel # modprobe kvm_intel # cat /sys/kernel/tracing/set_ftrace_filter vmx_get_rflags [kvm_intel] vmx_get_pkru [kvm_intel] vmx_get_interrupt_shadow [kvm_intel] vmx_rdtscp_supported [kvm_intel] vmx_invpcid_supported [kvm_intel] [..] Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
0 files changed, 0 insertions, 0 deletions