Re: Tracing within functions.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think you can use FTRACE (http://lwn.net/Articles/365835/) and set
function_graph as the tracer. To filter the output, you must enable
CONFIG_DYNAMIC_FTRACE and set which function should be traced.

On Sun, Mar 29, 2015 at 5:16 PM, Andy Ng <andreas2025@xxxxxxxxx> wrote:
> Hello,
>
> I am using an RT kernel and in my  driver there is  an atomic code
> path that just makes some critical I/O operations. I would like to
> trigger a system function trace when kernel enters into a specific
> function in my driver and stop the system trace at the end of the
> function. I would like to identify time execution latencies for a
> specific code path. I am using Cortex A9 and I have perf and PMU up
> and running, but still it is not clear to me how to retrieve the
> traces with those latencies in my code path.
>
> Any ideas how to trace/measure that  will be very much appreciated.
>
> Best regards,
> Andy
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux