tracing a linux kernel, function-by function (biggest only) with us timer

Posted by osgx on Stack Overflow See other posts from Stack Overflow or by osgx
Published on 2010-04-29T01:09:21Z Indexed on 2010/04/29 1:17 UTC
Read the original article Hit count: 294

Filed under:
|

Hello

I want to know, how does the linux kernel do some stuff (receiving a tcp packet). In what order main tcp functions are called. I want to see both interrupt handler (top half), bottom half and even work done by kernel after user calls "read()".

How can I get a function trace from kernel with some linear time scale?

I want to get a trace from single packet, not the profile of kernel when receiving 1000th of packets.

Kernel is 2.6.18 or 2.6.23 (supported in my debian). I can add some patches to it.

© Stack Overflow or respective owner

Related posts about linux-kernel

Related posts about trace