4

Im trying to do

echo "FINN" > /sys/kernel/debug/tracing/trace_marker

inside the shell (ubuntu 14) as root and im getting the next error

bash: echo: write error: Bad file descriptor

I dont know what is wrong, I read how to do it here and here (articles about how using ftrace)

Other ftrace files that I had to write into worked fine...

4

1 回答 1

1

你可能已经跑了

echo 0 to tracing_on

你可以跑

echo 1 > tracing_on

echo something > trace_marker

它应该再次工作。

于 2018-06-07T07:28:58.643 回答