X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=scripts%2Ftracing%2Fdraw_functrace.py;h=db40fa04cd513f4a68d86af935fec02f27e507d2;hb=864f0f61f829bac5f150a903aad9619322a25424;hp=902f9a992620446ed42acf46390226f71ac22fa7;hpb=f4a2a0d9a4226846693b5b4462d4350c1bfd58ea;p=safe%2Fjmp%2Flinux-2.6 diff --git a/scripts/tracing/draw_functrace.py b/scripts/tracing/draw_functrace.py index 902f9a9..db40fa0 100644 --- a/scripts/tracing/draw_functrace.py +++ b/scripts/tracing/draw_functrace.py @@ -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