diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-06-23 22:26:26 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-06-26 18:53:02 +0300 |
commit | 673feb9d76ab3eddde7acfd94b206e321cfc90b9 (patch) | |
tree | 7c023725f0175b6a519d4349a836155ea72d3f8b /include/linux/ftrace.h | |
parent | feaf1283d11794b9d518fcfd54b6bf8bee1f0b4b (diff) | |
download | linux-673feb9d76ab3eddde7acfd94b206e321cfc90b9.tar.xz |
ftrace: Add :mod: caching infrastructure to trace_array
This is the start of the infrastructure work to allow for tracing module
functions before it is loaded.
Currently the following command:
# echo :mod:some-mod > set_ftrace_filter
will enable tracing of all functions within the module "some-mod" if it is
loaded. What we want, is if the module is not loaded, that line will be
saved. When the module is loaded, then the "some-mod" will have that line
executed on it, so that the functions within it starts being traced.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'include/linux/ftrace.h')
0 files changed, 0 insertions, 0 deletions