summaryrefslogtreecommitdiff
path: root/sys/ddb/db_var.h
AgeCommit message (Collapse)Author
2020-10-15sick of the CMU, let's make this KNFTheo de Raadt
2019-07-20Get rid of `ddb_is_active' instead use `db_active'.Martin Pieuchot
From Christian Ludwig <christian_ludwig at genua dot de> ok visa@
2016-09-04Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernelMartin Pieuchot
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@
2011-04-03Allow kernel printfs to go to console if in ddb instead of being redirectedDale Rahn
to xconsole. ok deraadt@ guenther@
2008-11-08Add a new sysctl ``ddb.trigger''Marco Pfatschbacher
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@.
2006-07-06Make the ddb.log sysctl available as an in-ddb variable, $log, for consistency.Miod Vallat
2003-06-28option to log ddb output to kernel message buffer, via sysctl ddb.logTed Unangst
ok deraadt@ henric@ djm@
2003-06-02kill the clauses three and four on my sourcesMichael Shalayeff
2002-07-01Don't let variable declarations without "extern" living in .h files.Miod Vallat
While there fix a benign type mismatch in db_stack_dump() and remove diag code left by art by mistake.
2002-03-14First round of __P removal in sysTodd C. Miller
1998-02-05rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entryTheo de Raadt
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..
1997-12-29sysctl ddb.panic_ddb; felix@mamba.pond.sub.orgTheo de Raadt
1996-03-30Added: sysctl access to the ddb variables.Michael Shalayeff
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.
1996-03-11Debbuger changed towards the latest Mach.Michael Shalayeff
Some minor changes for Linux ;) emulation. Small bug fixes from NetBSD.