#
72ce0f6d |
| 01-May-2005 |
Hiten Pandya <hmp@dragonflybsd.org> |
Networking routing statistics on a per-CPU basis:
(a) sysctl node net.route introduced.
(b) sysctl leaf node net.route.stats can be used for retrieving a cpu indexed array of struct rtstatis
Networking routing statistics on a per-CPU basis:
(a) sysctl node net.route introduced.
(b) sysctl leaf node net.route.stats can be used for retrieving a cpu indexed array of struct rtstatistics.
(a) add a function kinfo_get_net_rtstatistics(3), which will be responsible for providing an aggregated view of the routing statistics; part of libkinfo(3).
(d) adapt netstat(8) to make use of the new libkinfo interface for retrieving routing statistics.
Discussed-with: Jeffrey Hsu <hsu at dragonflybsd.org> (long time ago)
show more ...
|
#
d21b845b |
| 27-Apr-2005 |
Hiten Pandya <hmp@dragonflybsd.org> |
KINFO library cleanups:
(a) stop including <sys/param.h> from kinfo_pcpu.h and kinfo.h
(b) remove useless include guards
(c) use _DIAGASSERT for enforcing interface requirements
(d) substitut
KINFO library cleanups:
(a) stop including <sys/param.h> from kinfo_pcpu.h and kinfo.h
(b) remove useless include guards
(c) use _DIAGASSERT for enforcing interface requirements
(d) substitute use of relloc(3) with reallocf(3) to guard from memory leaks.
Requested-by: Joerg Sonnenberger <joerg@britannica.bec.de>
show more ...
|
#
7827df93 |
| 27-Apr-2005 |
Hiten Pandya <hmp@dragonflybsd.org> |
Adapt the KINFO library to aggregate per-cpu cputime statistics.
(a) add a framework for aggregating per-cpu structures, of variant field types; this interface will undergo change once it is
Adapt the KINFO library to aggregate per-cpu cputime statistics.
(a) add a framework for aggregating per-cpu structures, of variant field types; this interface will undergo change once it is formalised upon, kinfo_pcpu.[ch].
(b) minor style(9) cleanups while I am around these ends.
(c) adjust libkcore, this might not be fully correct but it fetches the right symbol at the least, it is not so easy to collect per-cpu statistics from core files without doing magic with the CPU privatespace like how we do in GDB debug scripts.
(d) kinfo_get_sched_cputime(3) is fetching aggregate statistics to retain behavior, most programs do not care about per-cpu stats without getting really mucky anyway; (discussed with joerg)
show more ...
|