]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - scripts/tracing/draw_functrace.py
debugfs: Fix terminology inconsistency of dir name to mount debugfs filesystem.
[mv-sheeva.git] / scripts / tracing / draw_functrace.py
index 902f9a992620446ed42acf46390226f71ac22fa7..db40fa04cd513f4a68d86af935fec02f27e507d2 100644 (file)
@@ -12,10 +12,9 @@ calls. Only the functions's names and the the call time are provided.
 
 Usage:
        Be sure that you have CONFIG_FUNCTION_TRACER
-       # mkdir /debugfs
-       # mount -t debug debug /debug
-       # echo function > /debug/tracing/current_tracer
-       $ cat /debug/tracing/trace_pipe > ~/raw_trace_func
+       # mount -t debugfs nodev /sys/kernel/debug
+       # echo function > /sys/kernel/debug/tracing/current_tracer
+       $ cat /sys/kernel/debug/tracing/trace_pipe > ~/raw_trace_func
        Wait some times but not too much, the script is a bit slow.
        Break the pipe (Ctrl + Z)
        $ scripts/draw_functrace.py < raw_trace_func > draw_functrace