Commit 9ca07d45 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Zheng Zengkai
Browse files

tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh

stable inclusion
from stable-5.10.69
commit d1f9ecc00da1bb6af558251d3eb88ea33aa0c307
bugzilla: 182675 https://gitee.com/openeuler/kernel/issues/I4I3ED

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d1f9ecc00da1bb6af558251d3eb88ea33aa0c307

--------------------------------

[ Upstream commit 32ba9f0f ]

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: 55ed4560 ("tools/bootconfig: Add tracing_on support to helper scripts")
Signed-off-by: default avatarMasami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 2e2d708c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment