#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kallsyms.h>
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/proc_fs.h>
#include <linux/seq_file.h>
#include <linux/list.h>
#include <linux/sysctl.h>
#include <linux/ctype.h>
#include <linux/string.h>
#include <linux/uaccess.h>
#include <linux/dynamic_debug.h>
#include <linux/debugfs.h>
#include <linux/slab.h>
#include <linux/jump_label.h>
#include <linux/hardirq.h>
#include <linux/sched.h>
#include <linux/device.h>
#include <linux/netdevice.h>
Go to the source code of this file.
|
| module_param (verbose, int, 0644) |
|
int | __dynamic_pr_debug (struct _ddebug *descriptor, const char *fmt,...) |
|
| EXPORT_SYMBOL (__dynamic_pr_debug) |
|
int | __dynamic_dev_dbg (struct _ddebug *descriptor, const struct device *dev, const char *fmt,...) |
|
| EXPORT_SYMBOL (__dynamic_dev_dbg) |
|
| __setup ("ddebug_query=", ddebug_setup_query) |
|
int | ddebug_add_module (struct _ddebug *tab, unsigned int n, const char *name) |
|
| EXPORT_SYMBOL_GPL (ddebug_add_module) |
|
int | ddebug_dyndbg_module_param_cb (char *param, char *val, const char *module) |
|
int | ddebug_remove_module (const char *mod_name) |
|
| EXPORT_SYMBOL_GPL (ddebug_remove_module) |
|
| early_initcall (dynamic_debug_init) |
|
| fs_initcall (dynamic_debug_init_debugfs) |
|
#define DDEBUG_STRING_SIZE 1024 |
#define isodigit |
( |
|
c | ) |
((c) >= '0' && (c) <= '7') |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ":%s: " fmt, __func__ |
#define USER_BUF_PAGE 4096 |
#define vpr_info_dq |
( |
|
q, |
|
|
|
msg |
|
) |
| |
Value:do { \
\
vpr_info("%s: func=\"%s\" file=\"%s\" " \
"module=\"%s\" format=\"%.*s\" " \
"lineno=%u-%u", \
q->function ?
q->function :
"", \
q->filename ?
q->filename :
"", \
q->module ?
q->module :
"", \
(
int)(
q->format ?
strlen(
q->format) - 1 : 0), \
q->format ?
q->format :
"", \
q->first_lineno,
q->last_lineno); \
} while (0)
Definition at line 113 of file dynamic_debug.c.
early_initcall |
( |
dynamic_debug_init |
| ) |
|
fs_initcall |
( |
dynamic_debug_init_debugfs |
| ) |
|