Linux Kernel
3.7.1
|
#include <asm/debug.h>
Go to the source code of this file.
Data Structures | |
struct | ctcm_dbf_info |
Macros | |
#define | do_debug 0 |
#define | do_debug_ccw 0 |
#define | do_debug_data 0 |
#define | CTC_DBF_ALWAYS 0 /* always print this */ |
#define | CTC_DBF_EMERG 0 /* system is unusable */ |
#define | CTC_DBF_ALERT 1 /* action must be taken immediately */ |
#define | CTC_DBF_CRIT 2 /* critical conditions */ |
#define | CTC_DBF_ERROR 3 /* error conditions */ |
#define | CTC_DBF_WARN 4 /* warning conditions */ |
#define | CTC_DBF_NOTICE 5 /* normal but significant condition */ |
#define | CTC_DBF_INFO 5 /* informational */ |
#define | CTC_DBF_DEBUG 6 /* debug-level messages */ |
#define | CTCM_FUNTAIL strtail((char *)__func__, 16) |
#define | CTCM_DBF_TEXT(name, level, text) |
#define | CTCM_DBF_HEX(name, level, addr, len) |
#define | CTCM_DBF_TEXT_(name, level, text...) ctcm_dbf_longtext(CTCM_DBF_##name, level, text) |
#define | CTCM_DBF_DEV_NAME(cat, dev, text) |
#define | MPC_DBF_DEV_NAME(cat, dev, text) |
#define | CTCMY_DBF_DEV_NAME(cat, dev, text) |
#define | CTCM_DBF_DEV(cat, dev, text) |
#define | MPC_DBF_DEV(cat, dev, text) |
#define | CTCMY_DBF_DEV(cat, dev, text) |
Enumerations | |
enum | ctcm_dbf_names { CTCM_DBF_SETUP, CTCM_DBF_ERROR, CTCM_DBF_TRACE, CTCM_DBF_MPC_SETUP, CTCM_DBF_MPC_ERROR, CTCM_DBF_MPC_TRACE, CTCM_DBF_INFOS } |
Functions | |
int | ctcm_register_dbf_views (void) |
void | ctcm_unregister_dbf_views (void) |
void | ctcm_dbf_longtext (enum ctcm_dbf_names dbf_nix, int level, char *text,...) |
Variables | |
struct ctcm_dbf_info | ctcm_dbf [CTCM_DBF_INFOS] |
#define CTC_DBF_ALERT 1 /* action must be taken immediately */ |
Definition at line 36 of file ctcm_dbug.h.
#define CTC_DBF_ALWAYS 0 /* always print this */ |
Definition at line 34 of file ctcm_dbug.h.
#define CTC_DBF_CRIT 2 /* critical conditions */ |
Definition at line 37 of file ctcm_dbug.h.
Definition at line 42 of file ctcm_dbug.h.
Definition at line 35 of file ctcm_dbug.h.
#define CTC_DBF_ERROR 3 /* error conditions */ |
Definition at line 38 of file ctcm_dbug.h.
#define CTC_DBF_INFO 5 /* informational */ |
Definition at line 41 of file ctcm_dbug.h.
#define CTC_DBF_NOTICE 5 /* normal but significant condition */ |
Definition at line 40 of file ctcm_dbug.h.
#define CTC_DBF_WARN 4 /* warning conditions */ |
Definition at line 39 of file ctcm_dbug.h.
Definition at line 121 of file ctcm_dbug.h.
Definition at line 96 of file ctcm_dbug.h.
Definition at line 88 of file ctcm_dbug.h.
#define CTCM_FUNTAIL strtail((char *)__func__, 16) |
Definition at line 75 of file ctcm_dbug.h.
#define do_debug 0 |
Definition at line 19 of file ctcm_dbug.h.
#define do_debug_ccw 0 |
Definition at line 25 of file ctcm_dbug.h.
#define do_debug_data 0 |
Definition at line 30 of file ctcm_dbug.h.
Definition at line 127 of file ctcm_dbug.h.
Definition at line 102 of file ctcm_dbug.h.
enum ctcm_dbf_names |
CTCM_DBF_SETUP | |
CTCM_DBF_ERROR | |
CTCM_DBF_TRACE | |
CTCM_DBF_MPC_SETUP | |
CTCM_DBF_MPC_ERROR | |
CTCM_DBF_MPC_TRACE | |
CTCM_DBF_INFOS |
Definition at line 44 of file ctcm_dbug.h.
void ctcm_dbf_longtext | ( | enum ctcm_dbf_names | dbf_nix, |
int | level, | ||
char * | text, | ||
... | |||
) |
Definition at line 64 of file ctcm_dbug.c.
Definition at line 41 of file ctcm_dbug.c.
Definition at line 32 of file ctcm_dbug.c.
struct ctcm_dbf_info ctcm_dbf[CTCM_DBF_INFOS] |
Definition at line 23 of file ctcm_dbug.c.