]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c6a24fbc4cc609017a64fad16960e1ee2d3c6b5
tree074f470cf5c27402d66d40fc947c393b37b34288
parentc3ed33426983d63f8073ca5f7d8f67deab152b96
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]