On 06/25/2013 03:02 PM, nitin barthwal wrote:
> Hello
>
> I am Nitin , and I am trying to learn FTrace for Kernel Debugging in
> Android Platform using JBP ,Kernel 3.4.0 . I am facing a few
> challenges .
>
> My question --
>
> 1) First of all if I checked the available_tracers folder and came
> to know that I have -
> cat available_tracers
> wakeup_rt wakeup nop
> I want to use function tracer , but it is not available in
> available_tracers list.
>
> So how can I use function tracer.??
First you need configure function tracer in kernel.
>
> 2) After I succeed in making current_tracer to function , How to use
> this ? How can I do actual debugging checking by referring trace file..
>
> Please help me with queries.
you need to
echo function > current_tracer
echo 1 > /proc/sys/kernel/ftrace_enabled
echo 1 > tracing_on
echo 1 > tracing_enabled
cat trace
>
>
> Thanks & Regards
> Nitin Barthwal
>
> --
> You received this message because you are subscribed to the Google
> Groups "android-platform" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
android-platfo...@googlegroups.com.
> To post to this group, send email to
android-...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/android-platform.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>