openbsc[master]: add DHODEC debug category, tweak DHO name

Submitted by gerrit-no-reply@lists.osmocom.org on June 2, 2016, 12:30 p.m.

Details

Message ID gerrit.1464870633644.If19caca84327ac0267a7e1f0efc84a614b154486@gerrit.osmocom.org
State New
Headers show

Commit Message

gerrit-no-reply@lists.osmocom.org June 2, 2016, 12:30 p.m.
Review at  https://gerrit.osmocom.org/186

add DHODEC debug category, tweak DHO name

Change-Id: If19caca84327ac0267a7e1f0efc84a614b154486
---
M openbsc/include/openbsc/debug.h
M openbsc/src/libcommon/debug.c
2 files changed, 9 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/86/186/1

Comments

gerrit-no-reply@lists.osmocom.org June 2, 2016, 12:32 p.m.
Holger Freyther has abandoned this change.

Change subject: add DHODEC debug category, tweak DHO name
......................................................................


Abandoned

Patch hide | download patch | download mbox

diff --git a/openbsc/include/openbsc/debug.h b/openbsc/include/openbsc/debug.h
index 189ca47..aaa1ad0 100644
--- a/openbsc/include/openbsc/debug.h
+++ b/openbsc/include/openbsc/debug.h
@@ -22,6 +22,7 @@ 
 	DMSC,
 	DMGCP,
 	DHO,
+	DHODEC,
 	DDB,
 	DREF,
 	DGPRS,
diff --git a/openbsc/src/libcommon/debug.c b/openbsc/src/libcommon/debug.c
index 7fb3ecb..e9befb3 100644
--- a/openbsc/src/libcommon/debug.c
+++ b/openbsc/src/libcommon/debug.c
@@ -107,7 +107,14 @@ 
 	},
 	[DHO] = {
 		.name = "DHO",
-		.description = "Hand-Over",
+		.description = "Hand-Over Process",
+		.color = "\033[1;38m",
+		.enabled = 1, .loglevel = LOGL_NOTICE,
+	},
+	[DHODEC] = {
+		.name = "DHODEC",
+		.description = "Hand-Over Decision",
+		.color = "\033[1;38m",
 		.enabled = 1, .loglevel = LOGL_NOTICE,
 	},
 	[DDB] = {