summaryrefslogtreecommitdiffstats
path: root/tools/bootconfig/scripts/ftrace2bconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bootconfig/scripts/ftrace2bconf.sh')
-rwxr-xr-xtools/bootconfig/scripts/ftrace2bconf.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/bootconfig/scripts/ftrace2bconf.sh b/tools/bootconfig/scripts/ftrace2bconf.sh
index 6c0d4b61e0c2..a0c3bcc6da4f 100755
--- a/tools/bootconfig/scripts/ftrace2bconf.sh
+++ b/tools/bootconfig/scripts/ftrace2bconf.sh
@@ -221,6 +221,10 @@ instance_options() { # [instance-name]
if [ `echo $val | sed -e s/f//g`x != x ]; then
emit_kv $PREFIX.cpumask = $val
fi
+ val=`cat $INSTANCE/tracing_on`
+ if [ `echo $val | sed -e s/f//g`x != x ]; then
+ emit_kv $PREFIX.tracing_on = $val
+ fi
val=
for i in `cat $INSTANCE/set_event`; do