db_capture.c (92e6c2fd6d2d32b2d703cbf238f7a4a6b63f013b) db_capture.c (fbbb13f962e52bf547c5a901fe6fbc4390f6be54)
1/*-
2 * Copyright (c) 2007 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 76 unchanged lines hidden (view full) ---

85
86SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, bufoff, CTLFLAG_RD,
87 &db_capture_bufoff, 0, "Bytes of data in DDB capture buffer");
88
89SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, maxbufsize, CTLFLAG_RD,
90 &db_capture_maxbufsize, 0,
91 "Maximum value for debug.ddb.capture.bufsize");
92
1/*-
2 * Copyright (c) 2007 Robert N. M. Watson
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 76 unchanged lines hidden (view full) ---

85
86SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, bufoff, CTLFLAG_RD,
87 &db_capture_bufoff, 0, "Bytes of data in DDB capture buffer");
88
89SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, maxbufsize, CTLFLAG_RD,
90 &db_capture_maxbufsize, 0,
91 "Maximum value for debug.ddb.capture.bufsize");
92
93SYSCTL_UINT(_debug_ddb_capture, OID_AUTO, inprogress, CTLFLAG_RD,
93SYSCTL_INT(_debug_ddb_capture, OID_AUTO, inprogress, CTLFLAG_RD,
94 &db_capture_inprogress, 0, "DDB output capture in progress");
95
96/*
97 * Boot-time allocation of the DDB capture buffer, if any. Force all buffer
98 * sizes, including the maximum size, to be rounded to block sizes.
99 */
100static void
101db_capture_sysinit(__unused void *dummy)

--- 260 unchanged lines hidden ---
94 &db_capture_inprogress, 0, "DDB output capture in progress");
95
96/*
97 * Boot-time allocation of the DDB capture buffer, if any. Force all buffer
98 * sizes, including the maximum size, to be rounded to block sizes.
99 */
100static void
101db_capture_sysinit(__unused void *dummy)

--- 260 unchanged lines hidden ---