-1
kernel/debug/kdb/kdb_private.h
-1
kernel/debug/kdb/kdb_private.h
···
205
205
extern int kdb_grep_leading;
206
206
extern int kdb_grep_trailing;
207
207
extern char *kdb_cmds[];
208
-
extern void kdb_syslog_data(char *syslog_data[]);
209
208
extern unsigned long kdb_task_state_string(const char *);
210
209
extern char kdb_task_state_char (const struct task_struct *);
211
210
extern unsigned long kdb_task_state(const struct task_struct *p,
-15
kernel/printk.c
-15
kernel/printk.c
···
1192
1192
return do_syslog(type, buf, len, SYSLOG_FROM_CALL);
1193
1193
}
1194
1194
1195
-
#ifdef CONFIG_KGDB_KDB
1196
-
/* kdb dmesg command needs access to the syslog buffer. do_syslog()
1197
-
* uses locks so it cannot be used during debugging. Just tell kdb
1198
-
* where the start and end of the physical and logical logs are. This
1199
-
* is equivalent to do_syslog(3).
1200
-
*/
1201
-
void kdb_syslog_data(char *syslog_data[4])
1202
-
{
1203
-
syslog_data[0] = log_buf;
1204
-
syslog_data[1] = log_buf + log_buf_len;
1205
-
syslog_data[2] = log_buf + log_first_idx;
1206
-
syslog_data[3] = log_buf + log_next_idx;
1207
-
}
1208
-
#endif /* CONFIG_KGDB_KDB */
1209
-
1210
1195
static bool __read_mostly ignore_loglevel;
1211
1196
1212
1197
static int __init ignore_loglevel_setup(char *str)