linux/drivers/net/wireless/iwlwifi/pcie
Johannes Berg 45eab7ccac iwlwifi: reduce overhead if tracing disabled
Tracing commands builds an array of trace data
items even when the tracepoint is disabled.
Instead, loop in the tracepoint assignment.

This reduces overhead if tracing is compiled
into the driver but not enabled and slightly
reduces overall driver size as well:

   text	   data	    bss	    dec	    hex	filename
 114514	   6509	     48	 121071	  1d8ef	before/iwlwifi.ko
 114189	   6509	     48	 120746	  1d7aa	after/iwlwifi.ko

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Reviewed-by: Max Stepanov <Max.Stepanov@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2012-09-05 16:17:57 +02:00
..
1000.c
2000.c iwlwifi: set correct 32 bit boost register value 2012-07-09 14:55:30 +02:00
5000.c
6000.c iwlwifi: fix 6035 device parameters 2012-06-13 09:01:56 +02:00
cfg.h
drv.c iwlwifi: rework the iwlwifi debugfs structure 2012-07-26 08:59:28 +02:00
internal.h iwlwifi: get the correct HCMD in the response handler 2012-07-26 09:03:21 +02:00
rx.c iwlwifi: get the correct HCMD in the response handler 2012-07-26 09:03:21 +02:00
trans.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-next 2012-08-22 14:15:47 -04:00
tx.c iwlwifi: reduce overhead if tracing disabled 2012-09-05 16:17:57 +02:00