| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
that could leave `ddb_mp_mutex' locked if one CPU incremented
`db_active' while another CPU was in the critical section. When the race
hit, the debugger was unable to resume execution or switch between CPUs.
Race analyzed by patrick@
OK mpi@ patrick@
|
|
|
|
|
|
| |
It doesn't compile und hasn't been working during the last decade.
ok kettenis@, deraadt@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
|
|
|
|
|
|
|
| |
The goal is to include it in the list of functions that must not be
instrumented. All ddb(8) functions should be in this list and have
their names start with 'db_'.
ok visa@, deraadt@
|
|
|
|
|
|
| |
native size, so eliminate the #defines.
ok miod@
|
| |
|
|
|
|
| |
Discussed and okay drahn@. Okay deraadt@.
|
|
|
|
| |
implement them, and they are of questionable usefulness.
|
| |
|
| |
|
| |
|
|
|
|
| |
getting and setting the registers, but it's a start. kettenis@ ok.
|
|
|
|
|
| |
okay kettenis@,
something-vaguely-looking-like-an-okay mickey@
|
|
|
|
|
|
| |
"reads good" niklas@
"looks good" andreas@
"works" tedu@
|
| |
|
|
hacked by art@ from netbsd sources and then later debugged
by me into the shape where it can host itself.
no bootloader yet as needs redoing from the
recent advanced i386 sources (anyone? ;)
|