tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh
authorMasami Hiramatsu <mhiramat@kernel.org>
Sat, 4 Sep 2021 15:54:31 +0000 (00:54 +0900)
committerDom Cobley <popcornmix@gmail.com>
Thu, 14 Oct 2021 11:33:03 +0000 (12:33 +0100)
commit59cc2f8ae6940b0a2a1310beaffbad9338b6bad1
treea00191004752126f2bf19c1c7090dc07d30665aa
parent1879477c490d64bf97fdf2e8fc8a15c87f679e4b
tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh

[ Upstream commit 32ba9f0fb027cc43074e3ea26fcf831adeee8e03 ]

Since tracing_on indicates only "1" (default) or "0", ftrace2bconf.sh
only need to check the value is "0".

Link: https://lkml.kernel.org/r/163077087144.222577.6888011847727968737.stgit@devnote2
Fixes: 55ed4560774d ("tools/bootconfig: Add tracing_on support to helper scripts")
Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/bootconfig/scripts/ftrace2bconf.sh