#
99b7f1da |
| 07-Nov-2010 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Add minidump support for MIPS
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0 |
|
#
1a0fda2b |
| 04-Mar-2010 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
IFH@204581
|
#
ccd8bad0 |
| 01-Mar-2010 |
Robert Watson <rwatson@FreeBSD.org> |
A first cut at teaching libkvm how to deal with dynamic per-CPU storage (DPCPU):
A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes of DPCPU. Calls to kvm_nlist(3) will automat
A first cut at teaching libkvm how to deal with dynamic per-CPU storage (DPCPU):
A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes of DPCPU. Calls to kvm_nlist(3) will automatically translate DPCPU symbols and return a pointer to the current CPU's version of the data. Consumers needing to read the same symbol on several CPUs will invoke a series of setcpu/nlist calls, one per CPU of interest.
This addition makes it possible for tools like netstat(1) to query the values of DPCPU variables during crashdump analysis, and is based on similar code handling virtualized global variables.
MFC after: 1 week Sponsored by: Juniper Networks, Inc.
show more ...
|
Revision tags: release/8.0.0_cvs, release/8.0.0 |
|
#
10b3b545 |
| 17-Sep-2009 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Merge from head
|
#
11e9b8ba |
| 04-Aug-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC @196061
|
#
7cf8b4b9 |
| 23-Jul-2009 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Make libkvm work on live systems and crashdumps with and without VIMAGE virtualization in the kernel.
If we cannot resolve a symbol try to see if we can find it with prefix of the virtualized subsys
Make libkvm work on live systems and crashdumps with and without VIMAGE virtualization in the kernel.
If we cannot resolve a symbol try to see if we can find it with prefix of the virtualized subsystem, currently only "vnet_entry" by identifying either the vnet of the current process for a live system or the vnet of proc0 (or of dumptid if compiled in a non-default way).
The way this is done currently allows us to only touch libkvm but no single application. Once we are going to virtualize more subsystems we will have to review this decision for better scaling.
Submitted by: rwatson (initial version of kvm_vnet.c, lots of ideas) Reviewed by: rwatson Approved by: re (kib)
show more ...
|
Revision tags: release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0 |
|
#
e57c2b13 |
| 04-Dec-2008 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
integrate from head@185615
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
#
8e321b79 |
| 06-Nov-2008 |
Rafal Jaworowski <raj@FreeBSD.org> |
Support kernel crash mini dumps on ARM architecture.
Obtained from: Juniper Networks, Semihalf
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
d7dc9f76 |
| 15-Jun-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Re-enable raw dump format support on i386 and amd64 for /dev/fwmem.
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
67e40531 |
| 08-Jan-2007 |
Warner Losh <imp@FreeBSD.org> |
Remove the advertising clause. UCB did this some time ago, but these files were never updated to reflect that.
MFC After: 2 days
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0 |
|
#
e9ca6fe4 |
| 21-Apr-2006 |
Peter Wemm <peter@FreeBSD.org> |
Teach libkvm how to read minidumps. It turns out that minidumps are far more convenient for libkvm to work with because of the page table block at the beginning. As a result, the MD code is smaller
Teach libkvm how to read minidumps. It turns out that minidumps are far more convenient for libkvm to work with because of the page table block at the beginning. As a result, the MD code is smaller.
libkvm will automatically detect old vs mini dumps on i386 and amd64.
libkvm will handle i386 PAE and non-PAE modes. There is a PAE flag in the i386 minidump header to signal the width of the entries in the page table block.
Other convenient values are also present, such as kernbase and the direct map addresses on amd64.
show more ...
|
Revision tags: release/6.0.0_cvs, release/6.0.0 |
|
#
e55a0cd8 |
| 30-Jun-2005 |
Peter Wemm <peter@FreeBSD.org> |
Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() returned an lseek offset in a "u_long *" value, which can't express >4GB offsets on 32 bit machines (eg: PAE). Change to "off_t
Support crash dumps > 4GB in size on 32 bit platforms. _kvm_kvatop() returned an lseek offset in a "u_long *" value, which can't express >4GB offsets on 32 bit machines (eg: PAE). Change to "off_t *" for all.
Support ELF crashdumps on i386 and amd64.
Support PAE crashdumps on i386. This is done by auto-detecting the presence of the IdlePDPT which means that PAE is active.
I used Marcel's _kvm_pa2off strategy and ELF header reader for ELF support on amd64. Paul Saab ported the amd64 changes to i386 and we implemented the PAE support from there.
Note that gdb6 in the src tree uses whatever libkvm supports. If you want to debug an old crash dump, you might want to keep an old libkvm.so handy and use LD_PRELOAD or the like. This does not detect the old raw dump format.
Approved by: re
show more ...
|
Revision tags: release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
1372519b |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove multi-line __P() usage.
|
#
69160b1e |
| 22-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
Remove __P() usage.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
6dac8ac9 |
| 20-Aug-2001 |
Kris Kennaway <kris@FreeBSD.org> |
Mark some functions as __printflike() and/or taking const char * arguments instead of char *.
MFC after: 2 weeks
|
Revision tags: release/4.3.0_cvs, release/4.3.0, release/4.2.0, release/4.1.1_cvs, release/4.1.0, release/3.5.0_cvs, release/4.0.0_cvs |
|
#
c4a7cdb3 |
| 27-Dec-1999 |
Peter Wemm <peter@FreeBSD.org> |
Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist stru
Use kldsym(2) to lookup symbol values. This avoids the kvm_mkdb juggling and is module aware. Yes, this means that kvm_nlist(3) will find symbols in loaded modules. The emulation of the nlist struct is pretty crude but seems to work well enough for all the users in the tree that I found.
show more ...
|
Revision tags: release/3.4.0_cvs, release/3.3.0_cvs |
|
#
480bc7e1 |
| 25-Aug-1999 |
Bruce Evans <bde@FreeBSD.org> |
Don't open the swap file. The open descriptor for it hasn't been used for over 5 years since we switched to using procfs for kvm_uread(). This cleanup was motivated by recent breakage of the default
Don't open the swap file. The open descriptor for it hasn't been used for over 5 years since we switched to using procfs for kvm_uread(). This cleanup was motivated by recent breakage of the default swap file (/dev/drum) when swapon() has not been called.
show more ...
|
Revision tags: release/3.2.0, release/3.1.0, release/3.0.0, release/2.2.8, release/2.2.7, release/2.2.6, release/2.2.5_cvs, release/2.2.2_cvs, release/2.2.1_cvs, release/2.2.0, release/2.1.7_cvs, release/2.1.6_cvs, release/2.1.6.1, release/2.1.5_cvs, release/2.1.0_cvs |
|
#
77721f53 |
| 09-Dec-1995 |
Peter Wemm <peter@FreeBSD.org> |
Updates to read the extra indirection in ps_strings. Note that any static executables that depend on this will need to be relinked (ie: do this before 'ps'), but the dynamic linked stuff should be O
Updates to read the extra indirection in ps_strings. Note that any static executables that depend on this will need to be relinked (ie: do this before 'ps'), but the dynamic linked stuff should be OK (ie: 'w')
Obtained from: NetBSD (not much point reinventing the wheel.. :-)
show more ...
|
Revision tags: release/2.0.5_cvs, release/2.0 |
|
#
b3bfc719 |
| 05-Aug-1994 |
David Greenman <dg@FreeBSD.org> |
Converted 'vmunix' to 'kernel'.
|
Revision tags: release/1.1.5.1_cvs |
|
#
58f0484f |
| 27-May-1994 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
BSD 4.4 Lite Lib Sources
|
#
ccd8bad0 |
| 01-Mar-2010 |
Robert Watson <rwatson@FreeBSD.org> |
A first cut at teaching libkvm how to deal with dynamic per-CPU storage (DPCPU):
A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes of DPCPU. Calls to kvm_nlist(3) will automat
A first cut at teaching libkvm how to deal with dynamic per-CPU storage (DPCPU):
A new API, kvm_dpcpu_setcpu(3), selects the active CPU for the purposes of DPCPU. Calls to kvm_nlist(3) will automatically translate DPCPU symbols and return a pointer to the current CPU's version of the data. Consumers needing to read the same symbol on several CPUs will invoke a series of setcpu/nlist calls, one per CPU of interest.
This addition makes it possible for tools like netstat(1) to query the values of DPCPU variables during crashdump analysis, and is based on similar code handling virtualized global variables.
MFC after: 1 week Sponsored by: Juniper Networks, Inc.
show more ...
|
#
11e9b8ba |
| 04-Aug-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- MFC @196061
|
#
7cf8b4b9 |
| 23-Jul-2009 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Make libkvm work on live systems and crashdumps with and without VIMAGE virtualization in the kernel.
If we cannot resolve a symbol try to see if we can find it with prefix of the virtualized subsys
Make libkvm work on live systems and crashdumps with and without VIMAGE virtualization in the kernel.
If we cannot resolve a symbol try to see if we can find it with prefix of the virtualized subsystem, currently only "vnet_entry" by identifying either the vnet of the current process for a live system or the vnet of proc0 (or of dumptid if compiled in a non-default way).
The way this is done currently allows us to only touch libkvm but no single application. Once we are going to virtualize more subsystems we will have to review this decision for better scaling.
Submitted by: rwatson (initial version of kvm_vnet.c, lots of ideas) Reviewed by: rwatson Approved by: re (kib)
show more ...
|
Revision tags: release/6.4.0_cvs, release/6.4.0 |
|
#
8e321b79 |
| 06-Nov-2008 |
Rafal Jaworowski <raj@FreeBSD.org> |
Support kernel crash mini dumps on ARM architecture.
Obtained from: Juniper Networks, Semihalf
|
Revision tags: release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
d7dc9f76 |
| 15-Jun-2007 |
Hidetoshi Shimokawa <simokawa@FreeBSD.org> |
Re-enable raw dump format support on i386 and amd64 for /dev/fwmem.
|