On Tue, Oct 28, 2014 at 05:59:39PM +0100, Johannes Berg wrote: > On Tue, 2014-10-28 at 22:18 +0530, Rajkumar Manoharan wrote: > > For packet log, the transmitted frame 802.11 header alone is sufficient. > > Recording entire packet is also consuming lot of disk space. To > > optimize, add tracepoints for sending tx-ed 802.11 headers alone. > > FWIW, in iwlwifi I made the data portion (only!) a separate tracing > subsystem, so that you can do > > trace-cmd record -e iwlwifi > > to get the hdrs, and > > trace-cmd record -e iwlwifi -e iwlwifi_data > > to get the hdrs, and the data, and then I put the two together in > userspace. That way, "-e iwlwifi" gets most useful stuff, and adding -e > iwlwifi_data when needed still has no duplication. > > With what you're suggesting, it will be difficult to control tracing to > do exactly what's needed. > > Anyway, I don't really care, but this just caught my eye. > Thanks for your feedback. Will send updated patch. -Rajkumar -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html