I am trying the kernel function profiling using ftrace.
Following are the commands i tried
# echo function > current_tracer # echo 1 > function_p