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@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies