freebsd-dev/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 Per Olivier Houchard, use the proper license for this file. He 2007-01-08 18:25:58 +00:00
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 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getfiles.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getloadavg.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getloadavg.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
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 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_getswapinfo.3 Expand the license referenced indirectly inline. 2004-07-31 18:49:53 +00:00
kvm_getswapinfo.c - Move 'struct swdevt' back into swap_pager.h and expose it to userland. 2007-02-07 17:43:11 +00:00
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 Add a level of indirection to the kernel PTE table. The old 2007-05-19 13:11:27 +00:00
kvm_minidump_amd64.c Include strings.h for bzero() 2006-06-05 08:51:14 +00:00
kvm_minidump_i386.c Include strings.h for bzero() 2006-06-05 08:51:14 +00:00
kvm_mips.c First cut at doing the kvm file needed for mips. 2008-07-23 07:24:55 +00:00
kvm_nlist.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_open.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
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 Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() 2005-06-29 22:39:41 +00:00
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 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_sparc64.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm_sparc.c Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
kvm.3 Remove the advertising clause. UCB did this some time ago, but these 2007-01-08 17:35:36 +00:00
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