Need help in printing call stacks for all CPU's
Andreas Platschek
andi.platschek at gmail.com
Thu Nov 21 05:43:46 EST 2013
Hi Sandeep,
This should be possible using ftrace without touching the code. I am not
sure how to trigger on a specific function but I think it should be
possible. Have a look at Documentation/trace/ftrace.txt
andi
On 11/21/2013 11:22 AM, manty kuma wrote:
> I wish to print the call stacks of all the cpus. at a given time. How
> can i do it?
>
> for_each_cpu{
> dump_stack() -> Some function like this available? or i should write
> my own code?
> ...
> }
>
> Any pointers would help.
>
> Thank you,
> Sandeep
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20131121/d1ddc341/attachment.html
More information about the Kernelnewbies
mailing list