diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-09-05 00:33:53 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-05 16:17:57 +0200 |
commit | 45eab7ccacb2c2e63f7645fa92a7f742898044b4 (patch) | |
tree | fa68a9b60a27cb6244c5093c1be4db3620c49512 /drivers/iommu | |
parent | 12bf6f45d17038589e0eaa8adeb7ee8169c0e4de (diff) | |
download | talos-obmc-linux-45eab7ccacb2c2e63f7645fa92a7f742898044b4.tar.gz talos-obmc-linux-45eab7ccacb2c2e63f7645fa92a7f742898044b4.zip |
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>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions