freebsd-skq/lib/libkvm
John Baldwin f110b23b7d Add a new routine kvm_getcptime(3) for fetching the equivalent of
'kern.cp_time'.  For a live kernel it uses the sysctl.  For a crashdump,
it first checks to see if the kernel has a 'cp_time' global symbol.  If
it does, it uses that.  If that doesn't work, when it uses the recently
added kvm_getmaxcpu(3) and kvm_getpcpu(3) routines to walk all the CPUs
and sum up their counters.

MFC after:	1 week
2008-08-19 21:30:36 +00:00
..
kvm_amd64.c Re-enable raw dump format support on i386 and amd64 for /dev/fwmem. 2007-06-15 11:35:11 +00:00
kvm_arm.c
kvm_cptime.c Add a new routine kvm_getcptime(3) for fetching the equivalent of 2008-08-19 21:30:36 +00:00
kvm_file.c Use _WANT_FILE to make struct file visible from userland. This is 2008-05-26 15:12:47 +00:00
kvm_getcptime.3 Add a new routine kvm_getcptime(3) for fetching the equivalent of 2008-08-19 21:30:36 +00:00
kvm_geterr.3
kvm_getfiles.3
kvm_getloadavg.3
kvm_getloadavg.c
kvm_getpcpu.3 Add two new routines to libkvm for working with per-CPU data: 2008-08-19 19:55:33 +00:00
kvm_getprocs.3
kvm_getswapinfo.3
kvm_getswapinfo.c
kvm_i386.c Re-enable raw dump format support on i386 and amd64 for /dev/fwmem. 2007-06-15 11:35:11 +00:00
kvm_ia64.c
kvm_minidump_amd64.c
kvm_minidump_i386.c
kvm_mips.c First cut at doing the kvm file needed for mips. 2008-07-23 07:24:55 +00:00
kvm_nlist.3
kvm_open.3
kvm_pcpu.c Add two new routines to libkvm for working with per-CPU data: 2008-08-19 19:55:33 +00:00
kvm_powerpc.c
kvm_private.h Re-enable raw dump format support on i386 and amd64 for /dev/fwmem. 2007-06-15 11:35:11 +00:00
kvm_proc.c - Don't inspect the P_SA flag. It's being removed. 2008-03-12 10:00:33 +00:00
kvm_read.3
kvm_sparc64.c
kvm_sparc.c
kvm.3
kvm.c Plug memory leaks that is observed when argbuf or argspc is used in the 2008-01-12 00:54:47 +00:00
kvm.h Add a new routine kvm_getcptime(3) for fetching the equivalent of 2008-08-19 21:30:36 +00:00
Makefile Add a new routine kvm_getcptime(3) for fetching the equivalent of 2008-08-19 21:30:36 +00:00