summaryrefslogtreecommitdiff
path: root/tools/bootconfig/scripts/ftrace.sh
AgeCommit message (Collapse)AuthorFilesLines
2020-09-19tools/bootconfig: Add --init option for bconf2ftrace.shMasami Hiramatsu1-0/+109
Since the ftrace current setting may conflict with the new setting from bootconfig, add the --init option to initialize ftrace before setting for bconf2ftrace.sh. E.g. $ bconf2ftrace.sh --init boottrace.bconf This initialization method copied from selftests/ftrace. Link: https://lkml.kernel.org/r/159704853203.175360.17029578033994278231.stgit@devnote2 Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>