git: 1ca399682822 - main - [ath] Add ast_tsfoor to the sysctl statistics array.

Adrian Chadd adrian at FreeBSD.org
Sat May 22 23:34:02 UTC 2021


The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=1ca39968282266283251f2d3e4c27bcb67bb14f1

commit 1ca39968282266283251f2d3e4c27bcb67bb14f1
Author:     Adrian Chadd <adrian at FreeBSD.org>
AuthorDate: 2021-03-13 22:16:17 +0000
Commit:     Adrian Chadd <adrian at FreeBSD.org>
CommitDate: 2021-05-22 22:54:16 +0000

    [ath] Add ast_tsfoor to the sysctl statistics array.
---
 sys/dev/ath/if_ath_sysctl.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c
index 3c873d3e8b34..de852158f991 100644
--- a/sys/dev/ath/if_ath_sysctl.c
+++ b/sys/dev/ath/if_ath_sysctl.c
@@ -1301,6 +1301,10 @@ ath_sysctl_stats_attach(struct ath_softc *sc)
 	    CTLFLAG_RD, &sc->sc_stats.ast_tx_ldpc, 0,
 	    "Number of LDPC frames transmitted");
 
+	SYSCTL_ADD_UINT(ctx, child, OID_AUTO, "ast_tsfoor",
+	    CTLFLAG_RD, &sc->sc_stats.ast_tsfoor, 0,
+	    "Number of TSF out of range interrupts/resets");
+
 	/* Attach the RX phy error array */
 	ath_sysctl_stats_attach_rxphyerr(sc, child);
 


More information about the dev-commits-src-main mailing list