Up to [local] / src / sys / ddb
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.22 / (download) - annotate - [select for diffs], Sat Jan 9 20:58:12 2021 UTC (3 years, 5 months ago) by gnezdo
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
OPENBSD_7_3_BASE,
OPENBSD_7_3,
OPENBSD_7_2_BASE,
OPENBSD_7_2,
OPENBSD_7_1_BASE,
OPENBSD_7_1,
OPENBSD_7_0_BASE,
OPENBSD_7_0,
OPENBSD_6_9_BASE,
OPENBSD_6_9,
HEAD
Changes since 1.21: +7 -27 lines
Diff to previous 1.21 (colored)
Finish converting ddb_sysctl to sysctl_int_bounded I missed the verbose pattern that it used for error checking the first time around. OK millert@
Revision 1.21 / (download) - annotate - [select for diffs], Thu Dec 10 04:27:25 2020 UTC (3 years, 6 months ago) by gnezdo
Branch: MAIN
Changes since 1.20: +11 -13 lines
Diff to previous 1.20 (colored)
Convert ddb_sysctl to sysctl_bounded_arr ok gkoehler@
Revision 1.20 / (download) - annotate - [select for diffs], Fri Sep 8 05:36:52 2017 UTC (6 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE,
OPENBSD_6_8,
OPENBSD_6_7_BASE,
OPENBSD_6_7,
OPENBSD_6_6_BASE,
OPENBSD_6_6,
OPENBSD_6_5_BASE,
OPENBSD_6_5,
OPENBSD_6_4_BASE,
OPENBSD_6_4,
OPENBSD_6_3_BASE,
OPENBSD_6_3,
OPENBSD_6_2_BASE,
OPENBSD_6_2
Changes since 1.19: +1 -2 lines
Diff to previous 1.19 (colored)
If you use sys/param.h, you don't need sys/types.h
Revision 1.19 / (download) - annotate - [select for diffs], Sun Apr 30 16:45:45 2017 UTC (7 years, 1 month ago) by mpi
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)
Rename Debugger() into db_enter(). Using a name with the 'db_' prefix makes it invisible from the dynamic profiler. ok deraadt@, kettenis@, visa@
Revision 1.18 / (download) - annotate - [select for diffs], Sun Sep 4 09:22:29 2016 UTC (7 years, 9 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE,
OPENBSD_6_1
Changes since 1.17: +19 -1 lines
Diff to previous 1.17 (colored)
Introduce Dynamic Profiling, a ddb(4) based & gprof compatible kernel 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@
Revision 1.17 / (download) - annotate - [select for diffs], Sat Mar 14 03:38:46 2015 UTC (9 years, 3 months ago) by jsg
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE,
OPENBSD_6_0,
OPENBSD_5_9_BASE,
OPENBSD_5_9,
OPENBSD_5_8_BASE,
OPENBSD_5_8
Changes since 1.16: +1 -2 lines
Diff to previous 1.16 (colored)
Remove some includes include-what-you-use claims don't have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
Revision 1.16 / (download) - annotate - [select for diffs], Tue Jul 8 13:02:57 2014 UTC (9 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE,
OPENBSD_5_7,
OPENBSD_5_6_BASE,
OPENBSD_5_6
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)
These do not need the extremely poorly named uvm/uvm_extern.h (which pulls in the universe). occasionally they need sys/systm.h
Revision 1.15 / (download) - annotate - [select for diffs], Mon Jun 10 22:46:13 2013 UTC (11 years ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE,
OPENBSD_5_5,
OPENBSD_5_4_BASE,
OPENBSD_5_4
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)
If sysctl ddb.trigger=1 is not called from the console, the error message "value is not available" was misleading. Use the ENODEV error to generate the more appropriate message "Operation not supported by device". Note that ddb.console must be set to 1 to see that error at all. OK mpf@
Revision 1.14 / (download) - annotate - [select for diffs], Mon Jul 26 01:56:27 2010 UTC (13 years, 10 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE,
OPENBSD_5_3,
OPENBSD_5_2_BASE,
OPENBSD_5_2,
OPENBSD_5_1_BASE,
OPENBSD_5_1,
OPENBSD_5_0_BASE,
OPENBSD_5_0,
OPENBSD_4_9_BASE,
OPENBSD_4_9,
OPENBSD_4_8_BASE,
OPENBSD_4_8
Changes since 1.13: +5 -4 lines
Diff to previous 1.13 (colored)
Correct the links between threads, processes, pgrps, and sessions, so that the process-level stuff is to/from struct process and not struct proc. This fixes a bunch of problem cases in rthreads. Based on earlier work by blambert and myself, but mostly written at c2k10. Tested by many: deraadt, sthen, krw, ray, and in snapshots
Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 8 01:14:51 2008 UTC (15 years, 7 months ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE,
OPENBSD_4_7,
OPENBSD_4_6_BASE,
OPENBSD_4_6,
OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.12: +15 -1 lines
Diff to previous 1.12 (colored)
Add a new sysctl ``ddb.trigger'' 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@.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 15 21:49:40 2006 UTC (18 years, 3 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE,
OPENBSD_4_4,
OPENBSD_4_3_BASE,
OPENBSD_4_3,
OPENBSD_4_2_BASE,
OPENBSD_4_2,
OPENBSD_4_1_BASE,
OPENBSD_4_1,
OPENBSD_4_0_BASE,
OPENBSD_4_0
Changes since 1.11: +31 -3 lines
Diff to previous 1.11 (colored)
Still allow ddb.console and ddb.panic to be raised if securelevel <= 0; ok deraadt@
Revision 1.11 / (download) - annotate - [select for diffs], Wed Mar 15 21:02:38 2006 UTC (18 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +3 -23 lines
Diff to previous 1.10 (colored)
use sysctl_int_lower (old code had the negative bug)
Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 13 06:23:20 2006 UTC (18 years, 3 months ago) by jsg
Branch: MAIN
Changes since 1.9: +3 -9 lines
Diff to previous 1.9 (colored)
ansi/deregister. No binary change.
Revision 1.3.10.6 / (download) - annotate - [select for diffs], Sat Jun 5 23:12:36 2004 UTC (20 years ago) by niklas
Branch: SMP
Changes since 1.3.10.5: +1 -1 lines
Diff to previous 1.3.10.5 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)
Merge with the trunk
Revision 1.3.10.5 / (download) - annotate - [select for diffs], Thu Feb 19 10:56:12 2004 UTC (20 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.3.10.4: +5 -1 lines
Diff to previous 1.3.10.4 (colored) to branchpoint 1.3 (colored)
Merge of current from two weeks agointo the SMP branch
Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 6 22:19:21 2004 UTC (20 years, 4 months ago) by tedu
Branch: MAIN
CVS Tags: SMP_SYNC_B,
SMP_SYNC_A,
OPENBSD_3_9_BASE,
OPENBSD_3_9,
OPENBSD_3_8_BASE,
OPENBSD_3_8,
OPENBSD_3_7_BASE,
OPENBSD_3_7,
OPENBSD_3_6_BASE,
OPENBSD_3_6,
OPENBSD_3_5_BASE,
OPENBSD_3_5
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
default db.log=1. as noted by Sam Smith, this is more useful. mickey concurred
Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 28 01:52:18 2003 UTC (20 years, 11 months ago) by tedu
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE,
OPENBSD_3_4
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)
option to log ddb output to kernel message buffer, via sysctl ddb.log ok deraadt@ henric@ djm@
Revision 1.3.10.4 / (download) - annotate - [select for diffs], Sat Jun 7 11:02:28 2003 UTC (21 years ago) by ho
Branch: SMP
Changes since 1.3.10.3: +1 -6 lines
Diff to previous 1.3.10.3 (colored) to branchpoint 1.3 (colored)
Sync SMP branch to -current
Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 2 19:27:14 2003 UTC (21 years ago) by mickey
Branch: MAIN
Changes since 1.6: +1 -6 lines
Diff to previous 1.6 (colored)
kill the clauses three and four on my sources
Revision 1.3.10.3 / (download) - annotate - [select for diffs], Fri Mar 28 00:00:19 2003 UTC (21 years, 2 months ago) by niklas
Branch: SMP
Changes since 1.3.10.2: +0 -2 lines
Diff to previous 1.3.10.2 (colored) to branchpoint 1.3 (colored)
Sync the SMP branch with 3.3
Revision 1.5.2.1 / (download) - annotate - [select for diffs], Tue Oct 29 00:30:52 2002 UTC (21 years, 7 months ago) by art
Branch: UBC
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)
sync to -current
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 1 21:56:55 2002 UTC (21 years, 11 months ago) by miod
Branch: MAIN
CVS Tags: UBC_SYNC_B,
UBC_SYNC_A,
OPENBSD_3_3_BASE,
OPENBSD_3_3,
OPENBSD_3_2_BASE,
OPENBSD_3_2
Changes since 1.5: +1 -3 lines
Diff to previous 1.5 (colored)
Don't let variable declarations without "extern" living in .h files. While there fix a benign type mismatch in db_stack_dump() and remove diag code left by art by mistake.
Revision 1.3.10.2 / (download) - annotate - [select for diffs], Tue Nov 13 21:05:48 2001 UTC (22 years, 7 months ago) by niklas
Branch: SMP
Changes since 1.3.10.1: +1 -1 lines
Diff to previous 1.3.10.1 (colored) to branchpoint 1.3 (colored)
Merge in -current
Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 6 19:53:18 2001 UTC (22 years, 7 months ago) by miod
Branch: MAIN
CVS Tags: UBC_BASE,
OPENBSD_3_1_BASE,
OPENBSD_3_1
Branch point for: UBC
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. (Look ma, I might have broken the tree)
Revision 1.3.10.1 / (download) - annotate - [select for diffs], Thu Mar 2 07:04:37 2000 UTC (24 years, 3 months ago) by niklas
Branch: SMP
Changes since 1.3: +25 -3 lines
Diff to previous 1.3 (colored)
Sync with -current
Revision 1.4 / (download) - annotate - [select for diffs], Sun Feb 27 04:57:29 2000 UTC (24 years, 3 months ago) by hugh
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE,
OPENBSD_3_0,
OPENBSD_2_9_BASE,
OPENBSD_2_9,
OPENBSD_2_8_BASE,
OPENBSD_2_8,
OPENBSD_2_7_BASE,
OPENBSD_2_7
Changes since 1.3: +25 -3 lines
Diff to previous 1.3 (colored)
Provide a means to lock ddb off on systems at high securelevel, in order reduce the need for a custom kernel sans ddb.
Revision 1.3 / (download) - annotate - [select for diffs], Thu Feb 5 16:49:22 1998 UTC (26 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: kame_19991208,
SMP_BASE,
OPENBSD_2_6_BASE,
OPENBSD_2_6,
OPENBSD_2_5_BASE,
OPENBSD_2_5,
OPENBSD_2_4_BASE,
OPENBSD_2_4,
OPENBSD_2_3_BASE,
OPENBSD_2_3
Branch point for: SMP
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)
rename ddb.panic_ddb, and add ddb.console. Now you can stop console ddb entry 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..
Revision 1.2 / (download) - annotate - [select for diffs], Mon Dec 29 14:31:19 1997 UTC (26 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +2 -0 lines
Diff to previous 1.1 (colored)
sysctl ddb.panic_ddb; felix@mamba.pond.sub.org
Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 30 04:51:31 1996 UTC (28 years, 2 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE,
OPENBSD_2_2,
OPENBSD_2_1_BASE,
OPENBSD_2_1,
OPENBSD_2_0_BASE,
OPENBSD_2_0
Added: sysctl access to the ddb variables. 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.