I am unable to write to files in, or even go to, my debug or debug/tracing tracing directories.

$ sudo echo 1 > /sys/kernel/debug/tracing/tracing_on
bash: /sys/kernel/debug/tracing/tracing_on: Permission denied

$ sudo ls -l > /sys/kernel/debug/tracing/tracing_on
bash: /sys/kernel/debug/tracing/tracing_on: Permission denied

$ sudo cd /sys/kernel/debug/tracing/
sudo: cd: command not found

Also:

$ echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event
bash: /sys/kernel/debug/tracing/set_event: Permission denied

$ sudo echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event
bash: /sys/kernel/debug/tracing/set_event: Permission denied

This is frustrating because I have been trying to troubleshoot a serious performance issue. Various guides have led me to the point where I am trying these instructions:

http://stackoverflow.com/questions/1...kworker-thread

http://www.linuxforu.com/2010/11/ker...ftrace-part-1/