ftrace/docs: Add documentation on how to use ftrace from within the kernel
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 31 Oct 2017 14:07:05 +0000 (10:07 -0400)
committerJonathan Corbet <corbet@lwn.net>
Sun, 5 Nov 2017 16:55:29 +0000 (09:55 -0700)
commitb4d9421098f863bc7f92a7be8fb21e32fa5df99e
tree074f470cf5c27402d66d40fc947c393b37b34288
parented6e26baa7431ebfad890f275e191e32b5a4103c
ftrace/docs: Add documentation on how to use ftrace from within the kernel

With the coming removal of jprobes, using ftrace callbacks is one of the
utilities that replace the jprobes functionality. Having a document that
explains how to use ftrace as such will help in the transition from jprobes
to ftrace. This document is for kernel developers that require attaching a
callback to a function within the kernel.

Link: http://lkml.kernel.org/r/150724519527.5014.10207042218696587159.stgit@devbox
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
[jc: fixed one formatting issue that broke the docs build]
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/trace/ftrace-uses.rst [new file with mode: 0644]