Commit f2a20b51 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

utils: evl-trace: force enable/disable tracing on -e/-d


Signed-off-by: Philippe Gerum's avatarPhilippe Gerum <rpm@xenomai.org>
parent 560f70dc
......@@ -97,9 +97,11 @@ if test x$enable = xtrue; then
else
warn=" (no snapshot)"
fi
echo 1 > tracing_on
echo "tracing enabled$warn"
print=false
elif test x$disable = xtrue; then
echo 0 > tracing_on
echo 0 > events/enable
echo nop > current_tracer
test -r snapshot && echo 0 > snapshot
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment