summaryrefslogtreecommitdiff
path: root/tools/bootconfig/scripts/bconf2ftrace.sh
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2020-08-10 11:35:21 +0300
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2020-09-19 05:17:13 +0300
commit2b86062a34a81427fca082540e3593b5a6b49a13 (patch)
treec8494bb610e9cb3cb0c895d7c3f9006c9c682775 /tools/bootconfig/scripts/bconf2ftrace.sh
parent7e66ef0046ccf896674955b819c27c49783a4deb (diff)
downloadlinux-2b86062a34a81427fca082540e3593b5a6b49a13.tar.xz
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>
Diffstat (limited to 'tools/bootconfig/scripts/bconf2ftrace.sh')
0 files changed, 0 insertions, 0 deletions