Re: Events

Mathieu Desnoyers <[email protected]> Tue, 16 Oct 2007 09:06:03 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20071016130603.GB22697@Krystal>
* Yves Lopes ([email protected]) wrote:
> Hello,
> 
>  
> 
> I'm using Lttng 0.9.0 with the 2.6.20.16 Kernel and LTTV 0.8.82.
> 
>  
> 
> I want to see all the events generated by my Wireless Pci card to measure the time (in ns) between a transmission of a packet and the arrival of the response (ex. ping a access point and receive the acknowledge).
> 
>  
> 
> I tried to understand all the events generated, but I didn't find the all the meanings.
> 
> Can you tell me what is :
> 

The best advice I can give you is to look at the kernel code
instrumented by the LTTng patch.

>  
> 
> - dev_xmit
> 

Data transmission on the network card.

> - dev_receive
> 

Data reception from the network card.

> - socket_call
> 

see net/socket.c:sys_socketcall() for detail. (and man socketcall).

> - socket_sendmsg
> 
> - socket_recvmsg
> 

Same as socket_call.

>  
> 
> And how can I see the IRQ generated by the Wireless card ?
> 

Use /proc/interrupts to see what IRQ number your wifi card is using.
Then look at the detailed event list for IRQ specific to your card.
Using a textDump and grep is recommended.

Mathieu

>  
> 
> Thank you for helping me.
> 
>  

> 
> Yves

> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev


-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68