aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-05 00:43:33 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-05 00:43:33 +0200
commit260fcfc8d0d73840d4d367dfba404264df9c5d17 (patch)
treebb886f9a3a5b9478a96bb793a07d8641788dcd93
parentb17a47e6e1cf211137f51d8fcccd4c8deb205f04 (diff)
logging: Add DSP log subsystem
-rw-r--r--include/osmo-bts/logging.h1
-rw-r--r--src/common/logging.c6
2 files changed, 7 insertions, 0 deletions
diff --git a/include/osmo-bts/logging.h b/include/osmo-bts/logging.h
index e63b0cf..9252cb8 100644
--- a/include/osmo-bts/logging.h
+++ b/include/osmo-bts/logging.h
@@ -13,6 +13,7 @@ enum {
DPAG,
DL1C,
DL1P,
+ DDSP,
DABIS,
DRTP,
DSUM,
diff --git a/src/common/logging.c b/src/common/logging.c
index 9116ec7..2e95208 100644
--- a/src/common/logging.c
+++ b/src/common/logging.c
@@ -78,6 +78,12 @@ static struct log_info_cat bts_log_info_cat[] = {
.loglevel = LOGL_DEBUG,
.enabled = 0,
},
+ [DDSP] = {
+ .name = "DDSP",
+ .description = "DSP Trace Messages",
+ .loglevel = LOGL_DEBUG,
+ .enabled = 1,
+ },
[DABIS] = {
.name = "DABIS",
.description = "A-bis Intput Subsystem",