]> 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)
commit8ed0c46a961eb47f43fc6d3157c1c9b7d2786be3
tree074f470cf5c27402d66d40fc947c393b37b34288
parent97afc3f6f2a3249edb78d2802733e4186847d26e
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]