<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Sandeep,<br>
<br>
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<br>
<br>
andi<br>
<br>
On 11/21/2013 11:22 AM, manty kuma wrote:<br>
</div>
<blockquote
cite="mid:CAB6A5-C3ZFUfYnpSxPVeHTOKLxy5Fqy=h5oZ+e8CzoeByRqB=w@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>I wish to print the call stacks of all the cpus. at a
given time. How can i do it?<br>
<br>
</div>
for_each_cpu{<br>
</div>
dump_stack() -> Some function like this available? or i
should write my own code?<br>
<div>...<br>
}<br>
<br>
</div>
<div>Any pointers would help.<br>
<br>
</div>
<div>Thank you,<br>
Sandeep<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kernelnewbies mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a>
</pre>
</blockquote>
<br>
</body>
</html>