• J
    iwlwifi: make data frame tracing optional · f042c2eb
    Johannes Berg 提交于
    When tracing in iwlwifi, we get all data. Most of
    the time, we don't need it, and it just takes up
    a lot of extra space in the trace.
    
    Make this optional by recording the data into two
    separate trace events if it is needed. Without it,
    record only the content of non-data and EAPOL TX
    frames.
    
    As a result, tracing without the data tracepoints
    will record meta information including the 802.11
    headers for all frames but will not record the
    contents of data frames to reduce trace overhead.
    Reviewed-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
    Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
    f042c2eb
iwl-devtrace.h 12.4 KB