linux/tools/bootconfig
Masami Hiramatsu 2b86062a34 tools/bootconfig: Add a script to generates bootconfig from ftrace
Add a ftrace2bconf.sh under tools/bootconfig/scripts which generates
a bootconfig file from the current ftrace settings.

To read the ftrace settings, ftrace2bconf.sh requires the root
privilege (or sudo). The ftrace2bconf.sh will output the bootconfig
to stdout and error messages to stderr, so usually you'll run it as

 # ftrace2bconf.sh > ftrace.bconf

Note that some ftrace configurations are not supported. For example,
function-call/callgraph trace/notrace settings are not supported because
the wildcard has been expanded and lost in the ftrace anymore.

Link: https://lkml.kernel.org/r/159704852163.175360.16738029520293360558.stgit@devnote2

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2020-09-18 22:17:13 -04:00
..
include/linux tools/bootconfig: Remove unneeded error message silencer 2020-02-20 17:53:41 -05:00
samples tools/bootconfig: Add testcases for value override operator 2020-08-03 16:22:29 -04:00
scripts tools/bootconfig: Add a script to generates bootconfig from ftrace 2020-09-18 22:17:13 -04:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
main.c tools/bootconfig: Make all functions static 2020-09-18 22:17:13 -04:00
Makefile bootconfig: Support O=<builddir> option 2020-03-03 17:38:42 -05:00
test-bootconfig.sh tools/bootconfig: Add testcases for value override operator 2020-08-03 16:22:29 -04:00