[PATCH 07/18] perf ftrace: Add 'record' sub-command

2013-10-15 Thread Namhyung Kim
From: Namhyung Kim The ftrace record command is for saving raw ftrace buffer contents which can be get from per_cpu/cpuX/trace_pipe_raw. Since ftrace events are generated very frequently so single thread for recording mostly resulted in buffer overruns. Thus it uses per-cpu recorder thread to

[PATCH 07/18] perf ftrace: Add 'record' sub-command

2013-10-15 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com The ftrace record command is for saving raw ftrace buffer contents which can be get from per_cpu/cpuX/trace_pipe_raw. Since ftrace events are generated very frequently so single thread for recording mostly resulted in buffer overruns. Thus it uses per-cpu