#
bf0d449c |
| 16-Sep-2023 |
mpi <mpi@openbsd.org> |
Allow counters_read(9) to take an optional scratch buffer.
Using a scratch buffer makes it possible to take a consistent snapshot of per-CPU counters without having to allocate memory.
Makes ddb(4)
Allow counters_read(9) to take an optional scratch buffer.
Using a scratch buffer makes it possible to take a consistent snapshot of per-CPU counters without having to allocate memory.
Makes ddb(4) show uvmexp command work in OOM situations.
ok kn@, mvs@, cheloha@
show more ...
|
#
1e5f4b12 |
| 05-Dec-2022 |
visa <visa@openbsd.org> |
Avoid event counter re-insert in evcount_percpu()
This fixes evcount_list corruption that happened when evcount_percpu() was called after evcount_init_percpu().
OK jca@ cheloha@ jmatthew@
|
#
886cb583 |
| 10-Nov-2022 |
jmatthew <jmatthew@openbsd.org> |
Add support for per-cpu event counters, to be used for clock and IPI counters where the event being counted occurs across all CPUs in the system. Counter instances can be made per-cpu by calling evc
Add support for per-cpu event counters, to be used for clock and IPI counters where the event being counted occurs across all CPUs in the system. Counter instances can be made per-cpu by calling evcount_percpu() after the counter is attached, and this can occur before or after all system CPUs are attached. Per-cpu counter instances should be incremented using evcount_inc().
ok kettenis@ jca@ cheloha@
show more ...
|
#
0d280c5f |
| 14-Aug-2022 |
jsg <jsg@openbsd.org> |
remove unneeded includes in sys/kern ok mpi@ miod@
|
#
21dab745 |
| 14-Mar-2015 |
jsg <jsg@openbsd.org> |
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels.
ok tedu@ deraadt@
|
#
7f58a11f |
| 14-Sep-2014 |
jsg <jsg@openbsd.org> |
remove uneeded proc.h includes ok mpi@ kspillner@
|
#
4667bebb |
| 20-Sep-2010 |
matthew <matthew@openbsd.org> |
Get rid of evcount's support for arranging counters in a tree hierarchy. Everything attached to a single root node anyway, so at best we had a bush.
"i think it is good" deraadt@
|
#
9b074ffa |
| 20-Apr-2010 |
tedu <tedu@openbsd.org> |
remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add pro
remove proc.h include from uvm_map.h. This has far reaching effects, as sysctl.h was reliant on this particular include, and many drivers included sysctl.h unnecessarily. remove sysctl.h or add proc.h as needed. ok deraadt
show more ...
|
#
35d2aa6f |
| 17-Oct-2006 |
grange <grange@openbsd.org> |
Kill unused code.
ok art@
|
#
bf083c78 |
| 09-Dec-2005 |
jsg <jsg@openbsd.org> |
ansi and deregister. No binary change.
|
#
9e2e8501 |
| 24-Dec-2004 |
miod <miod@openbsd.org> |
Do not provide the KERN_EMUL, KERN_EVCOUNT, KERN_INTRCNT, KERN_PROC* and HW_SENSORS sysctl trees if option SMALL_KERNEL. ok deraadt@
|
#
756b05ef |
| 26-Nov-2004 |
miod <miod@openbsd.org> |
Kill __HAVE_EVCOUNT, now that all architectures provide them.
|
#
6440a303 |
| 29-Sep-2004 |
miod <miod@openbsd.org> |
ec_count32 was a bad idea; remove it for good.
|
#
5d6f4fa7 |
| 23-Sep-2004 |
deraadt <deraadt@openbsd.org> |
change KERN_INTRCNT_CNT to return a quad; ok tedu
|
#
5f058a8c |
| 28-Jun-2004 |
deraadt <deraadt@openbsd.org> |
splhigh around ec_count fetches -- sorry art; ok aaron
|
#
d5765d4f |
| 28-Jun-2004 |
aaron <aaron@openbsd.org> |
Add new, generic ``evcount'' event counter API to the kernel. From art@, with modifications from me. Includes code for generic interrupt counter fetching via sysctl. deraadt@ tholo@ drahn@ millert
Add new, generic ``evcount'' event counter API to the kernel. From art@, with modifications from me. Includes code for generic interrupt counter fetching via sysctl. deraadt@ tholo@ drahn@ millert@ ok
show more ...
|