Age | Commit message (Collapse) | Author |
|
|
|
From Christian Ludwig <christian_ludwig at genua dot de>
ok visa@
|
|
profiling framework.
Code patching is used to enable probes when entering functions. The
probes will call a mcount()-like function to match the behavior of a
GPROF kernel.
Currently only available on amd64 and guarded under DDBPROF. Support
for other archs will follow soon.
A new sysctl knob, ddb.console, need to be set to 1 in securelevel 0
to be able to use this feature.
Inputs and ok guenther@
|
|
to xconsole. ok deraadt@ guenther@
|
|
Writing to it, will bring the system into the kernel debugger.
ddb.console=1 is required and the sysctl command has to be executed
from the actual console tty.
If the securelevel is < 1, the tty check is ignored.
Feedback and OK ckuethe@, deraadt@.
|
|
|
|
ok deraadt@ henric@ djm@
|
|
|
|
While there fix a benign type mismatch in db_stack_dump() and remove
diag code left by art by mistake.
|
|
|
|
with a sysctl. There will be architectures and drivers that lack function,
and I trust the maintainers of those will forget to add the code..
|
|
|
|
Fixed: "netbsd" strings in sym table handling routines.
now it is usefull to change max_{width,line} according
to your real console geometry, just w/ sysctl program.
|
|
Some minor changes for Linux ;) emulation.
Small bug fixes from NetBSD.
|