Lines Matching full:debug
3 * S/390 debug facility
18 #define DEBUG_MAX_LEVEL 6 /* debug levels range from 0 to 6 */
19 #define DEBUG_OFF_LEVEL -1 /* level where debug is switched off */
23 #define DEBUG_DEFAULT_LEVEL 3 /* initial debug level */
25 #define DEBUG_DIR_ROOT "s390dbf" /* name of debug root directory in proc fs */
30 #define __DEBUG_FEATURE_VERSION 3 /* version of debug feature */
106 /* Debug Feature API: */
124 * debug_level_enabled() - Returns true if debug events for the specified
127 * @id: handle for debug log
128 * @level: debug level
131 * - %true if level is less or equal to the current debug level.
139 * debug_event() - writes binary debug entry to active debug area
140 * (if level <= actual debug level)
142 * @id: handle for debug log
143 * @level: debug level
144 * @data: pointer to data for debug entry
148 * - Address of written debug entry
160 * debug_int_event() - writes unsigned integer debug entry to active debug area
161 * (if level <= actual debug level)
163 * @id: handle for debug log
164 * @level: debug level
165 * @tag: integer value for debug entry
168 * - Address of written debug entry
182 * debug_long_event() - writes unsigned long debug entry to active debug area
183 * (if level <= actual debug level)
185 * @id: handle for debug log
186 * @level: debug level
187 * @tag: long integer value for debug entry
190 * - Address of written debug entry
204 * debug_text_event() - writes string debug entry in ascii format to active
205 * debug area (if level <= actual debug level)
207 * @id: handle for debug log
208 * @level: debug level
209 * @txt: string for debug entry
212 * - Address of written debug entry
232 * debug_sprintf_event() - writes debug entry with format string
233 * and varargs (longs) to active debug area
234 * (if level $<=$ actual debug level).
236 * @_id: handle for debug log
237 * @_level: debug level
238 * @_fmt: format string for debug entry
242 * - Address of written debug entry
262 * debug_exception() - writes binary debug entry to active debug area
263 * (if level <= actual debug level)
264 * and switches to next debug area
266 * @id: handle for debug log
267 * @level: debug level
268 * @data: pointer to data for debug entry
272 * - Address of written debug entry
284 * debug_int_exception() - writes unsigned int debug entry to active debug area
285 * (if level <= actual debug level)
286 * and switches to next debug area
288 * @id: handle for debug log
289 * @level: debug level
290 * @tag: integer value for debug entry
293 * - Address of written debug entry
307 * debug_long_exception() - writes long debug entry to active debug area
308 * (if level <= actual debug level)
309 * and switches to next debug area
311 * @id: handle for debug log
312 * @level: debug level
313 * @tag: long integer value for debug entry
316 * - Address of written debug entry
330 * debug_text_exception() - writes string debug entry in ascii format to active
331 * debug area (if level <= actual debug level)
332 * and switches to next debug area
335 * @id: handle for debug log
336 * @level: debug level
337 * @txt: string for debug entry
340 * - Address of written debug entry
361 * debug_sprintf_exception() - writes debug entry with format string and
362 * varargs (longs) to active debug area
363 * (if level <= actual debug level)
364 * and switches to next debug area.
366 * @_id: handle for debug log
367 * @_level: debug level
368 * @_fmt: format string for debug entry
372 * - Address of written debug entry
464 * @name: Name of debug log (e.g. used for debugfs entry)
466 * @nr_areas: Number of debug areas
467 * @buf_size: Size of data area in each debug entry
468 * @view: Pointer to debug view struct
471 * is automatically registered with the specified debug view.
477 * The debug area will be changed to use the specified numbers during