[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c6c5b3c5-f862-9cee-6863-24f666cc28f5@gmail.com>
Date: Fri, 31 Jul 2020 11:46:31 -0700
From: Florian Fainelli <f.fainelli@...il.com>
To: Rakesh Pillai <pillair@...eaurora.org>, ath10k@...ts.infradead.org
Cc: linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org,
kvalo@...eaurora.org, davem@...emloft.net, kuba@...nel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v2 0/3]
On 7/31/20 11:27 AM, Rakesh Pillai wrote:
> The history recording will be compiled only if
> ATH10K_DEBUG is enabled, and also enabled via
> the module parameter. Once the history recording
> is enabled via module parameter, it can be enabled
> or disabled runtime via debugfs.
Why not use trace prints and retrieving them via the function tracer?
This seems very ad-hoc.
>
> ---
> Changes from v1:
> - Add module param and debugfs to enable/disable history recording.
>
> Rakesh Pillai (3):
> ath10k: Add history for tracking certain events
> ath10k: Add module param to enable history
> ath10k: Add debugfs support to enable event history
>
> drivers/net/wireless/ath/ath10k/ce.c | 1 +
> drivers/net/wireless/ath/ath10k/core.c | 3 +
> drivers/net/wireless/ath/ath10k/core.h | 82 ++++++++++++
> drivers/net/wireless/ath/ath10k/debug.c | 207 ++++++++++++++++++++++++++++++
> drivers/net/wireless/ath/ath10k/debug.h | 75 +++++++++++
> drivers/net/wireless/ath/ath10k/snoc.c | 15 ++-
> drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
> drivers/net/wireless/ath/ath10k/wmi.c | 10 ++
> 8 files changed, 393 insertions(+), 1 deletion(-)
>
--
Florian
Powered by blists - more mailing lists