aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_smr.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-03-06 19:09:01 +0000
committerMark Johnston <markj@FreeBSD.org>2020-03-06 19:09:01 +0000
commitfffcb56f7a7b1ee6fb1a91584ba69b62d133c2d5 (patch)
tree77b799209f34c69f7b4f9f60202c32118bc658fc /sys/kern/subr_smr.c
parentf15ccf8836d9d42b92f999dbd6c4746c9547f8a6 (diff)
downloadsrc-fffcb56f7a7b1ee6fb1a91584ba69b62d133c2d5.tar.gz
src-fffcb56f7a7b1ee6fb1a91584ba69b62d133c2d5.zip
Add COUNTER_U64_SYSINIT() and COUNTER_U64_DEFINE_EARLY().
The aim is to reduce the boilerplate needed today to define and initialize global counters. Also add SI_SUB_COUNTER to the sysinit ordering. Reviewed by: kib MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D23977
Notes
Notes: svn path=/head/; revision=358715
Diffstat (limited to 'sys/kern/subr_smr.c')
0 files changed, 0 insertions, 0 deletions