On Tue, Mar 30, 2010 at 1:19 PM, Frederic Weisbecker <fweisbec@xxxxxxxxx> wrote:
What do you mean by tracing function calls?On Tue, Mar 30, 2010 at 01:05:28PM +0530, Onkar Mahajan wrote:
> Hi Kernelnewbies,
> Please suggest me a good tutorial for learning basic kernel
> programming stuff. Basics such as :
> (1) Sending data from kernel => user land
> (2) How to trace function calls in kernel ?
You mean using the function tracer or?
I want to see the packet movement in the Linux TCP/IP protocol stack.
Any idea as to how I can do it - any pointers ...
Thanks for your help.
/Onkar
"If thou dost these things faithfully, if thou travellest with high heart and pure intention, soon shall thy callow Newbiehood be shed."
Any idea as to how I can do it - any pointers ...
Thanks for your help.
/Onkar
"If thou dost these things faithfully, if thou travellest with high heart and pure intention, soon shall thy callow Newbiehood be shed."
To use the function and function graph tracers, you can
look at Documentation/trace/ftrace.txt.
>
> Regards,
> /Onkar