aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/conf
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2019-10-07 19:05:05 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2019-10-07 19:05:05 +0000
commit1a13f2e6b444dd8048aebd2ac1f0b8fae9e3088f (patch)
tree330bdbba535e6a9a9e29639c53c83e8bf933bfc9 /sys/amd64/conf
parentd253c454bb88a1c3ff5be6d0f644342ba05644f1 (diff)
downloadsrc-1a13f2e6b444dd8048aebd2ac1f0b8fae9e3088f.tar.gz
src-1a13f2e6b444dd8048aebd2ac1f0b8fae9e3088f.zip
Introduce stats(3), a flexible statistics gathering API.
This provides a framework to define a template describing a set of "variables of interest" and the intended way for the framework to maintain them (for example the maximum, sum, t-digest, or a combination thereof). Afterwards the user code feeds in the raw data, and the framework maintains these variables inside a user-provided, opaque stats blobs. The framework also provides a way to selectively extract the stats from the blobs. The stats(3) framework can be used in both userspace and the kernel. See the stats(3) manual page for details. This will be used by the upcoming TCP statistics gathering code, https://reviews.freebsd.org/D20655. The stats(3) framework is disabled by default for now, except in the NOTES kernel (for QA); it is expected to be enabled in amd64 GENERIC after a cool down period. Reviewed by: sef (earlier version) Obtained from: Netflix Relnotes: yes Sponsored by: Klara Inc, Netflix Differential Revision: https://reviews.freebsd.org/D20477
Notes
Notes: svn path=/head/; revision=353283
Diffstat (limited to 'sys/amd64/conf')
-rw-r--r--sys/amd64/conf/NOTES2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/amd64/conf/NOTES b/sys/amd64/conf/NOTES
index 86308526749e..51e599d701ae 100644
--- a/sys/amd64/conf/NOTES
+++ b/sys/amd64/conf/NOTES
@@ -671,3 +671,5 @@ device ndis
options LINDEBUGFS
options GCOV
+
+options STATS