Searched hist:aa8705fc65a395d79bdc8bb82a89bcf9abe9f3a4 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | trace.h | diff aa8705fc65a395d79bdc8bb82a89bcf9abe9f3a4 Mon Mar 18 06:42:22 CDT 2013 Kalle Valo <kvalo@qca.qualcomm.com> ath6kl: add tracing support to debug message macros
Now all log messages are sent through the tracing infrastruture as well. Tracing point doesn't follow debug_mask module parameter, instead it sends all debug messages, so once you enable ath6kl_log_dbg tracing point you will get a lot of messages. Needs to be discussed if this is sensible or not. The overhead should be small enough and we anyway include debug level as well so it's easy to filter in user space.
I wasn't really sure what to do with ath6kl_dbg_dump() and for now decided that it also sends the buffer to user space. But most likely in the future ath6kl_dbg_dump() should go away in favor of using proper tracing points, but we will see.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|
H A D | debug.c | diff aa8705fc65a395d79bdc8bb82a89bcf9abe9f3a4 Mon Mar 18 06:42:22 CDT 2013 Kalle Valo <kvalo@qca.qualcomm.com> ath6kl: add tracing support to debug message macros
Now all log messages are sent through the tracing infrastruture as well. Tracing point doesn't follow debug_mask module parameter, instead it sends all debug messages, so once you enable ath6kl_log_dbg tracing point you will get a lot of messages. Needs to be discussed if this is sensible or not. The overhead should be small enough and we anyway include debug level as well so it's easy to filter in user space.
I wasn't really sure what to do with ath6kl_dbg_dump() and for now decided that it also sends the buffer to user space. But most likely in the future ath6kl_dbg_dump() should go away in favor of using proper tracing points, but we will see.
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
|