Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
dirdeps: Update Makefile.depend* files with empty contentsSome Makefile.depend* files were committed with no contents or emptyDIRDEPS list, but they should have DIRDEPS with some contents.
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Update/fix Makefile.depend for userland
Make use of the stats(3) framework in the TCP stack.This makes it possible to retrieve per-connection statisticalinformation such as the receive window size, RTT, or goodput,using a newly added T
Make use of the stats(3) framework in the TCP stack.This makes it possible to retrieve per-connection statisticalinformation such as the receive window size, RTT, or goodput,using a newly added TCP_STATS getsockopt(3) option, and extractthem using the stats_voistat_fetch(3) API.See the net/tcprtt port for an example consumer of this API.Compared to the existing TCP_INFO system, the main differencesare that this mechanism is easy to extend without breaking ABI,and provides statistical information instead of raw "snapshots"of values at a given point in time. stats(3) is more genericand can be used in both userland and the kernel.Reviewed by: thjTested by: thjObtained from: NetflixRelnotes: yesSponsored by: Klara Inc, NetflixDifferential Revision: https://reviews.freebsd.org/D20655
show more ...
Introduce stats(3), a flexible statistics gathering API.This provides a framework to define a template describinga set of "variables of interest" and the intended way forthe framework to maintain
Introduce stats(3), a flexible statistics gathering API.This provides a framework to define a template describinga set of "variables of interest" and the intended way forthe framework to maintain them (for example the maximum, sum,t-digest, or a combination thereof). Afterwards the usercode feeds in the raw data, and the framework maintainsthese variables inside a user-provided, opaque stats blobs.The framework also provides a way to selectively extract thestats from the blobs. The stats(3) framework can be used inboth 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, exceptin the NOTES kernel (for QA); it is expected to be enabledin amd64 GENERIC after a cool down period.Reviewed by: sef (earlier version)Obtained from: NetflixRelnotes: yesSponsored by: Klara Inc, NetflixDifferential Revision: https://reviews.freebsd.org/D20477