From mboxrd@z Thu Jan 1 00:00:00 1970 From: andi.platschek@gmail.com (Andreas Platschek) Date: Thu, 21 Nov 2013 11:43:46 +0100 Subject: Need help in printing call stacks for all CPU's In-Reply-To: References: Message-ID: <528DE3E2.4080807@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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