Search Linux Wireless

Re: [PATCH 07/11] iwlwifi: add skb address to tx cmd in trace events data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luca Coelho <luca@xxxxxxxxx> writes:

> From: Mordechay Goodstein <mordechay.goodstein@xxxxxxxxx>
>
> This helps matching tx cmd with other trace events, like net_dev_xmit
> and net_dev_queue etc.
>
> Signed-off-by: Mordechay Goodstein <mordechay.goodstein@xxxxxxxxx>
> Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx>

[...]

> @@ -120,9 +121,9 @@ TRACE_EVENT(iwlwifi_dev_tx,
>  				      __get_dynamic_array(buf1),
>  				      skb->len - hdr_len);
>  	),
> -	TP_printk("[%s] TX %.2x (%zu bytes)",
> +	TP_printk("[%s] TX %.2x (%zu bytes) skbaddr=%p",
>  		  __get_str(dev), ((u8 *)__get_dynamic_array(buf0))[0],
> -		  __entry->framelen)
> +		  __entry->framelen, __entry->skbaddr)
>  );

Just so that you know there has been a lot of changes recently about %p,
I think the addresses are nowadays hashed due to security reasons. No
idea if it afffects tracing events, but just wanted to point out this.

-- 
Kalle Valo



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux