[PATCH] osmo-bts[master]: Fix dsp traceing at phy

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Tue Jul 26 08:06:34 UTC 2016


Review at  https://gerrit.osmocom.org/610

Fix dsp traceing at phy

Due to missing runtime cmd patching DSP tracing was not possible at phy
level.

Change-Id: Ibbbf81d2c4b5d3adbcbc1f08a844d262e603e571
---
M src/osmo-bts-sysmo/sysmobts_vty.c
1 file changed, 17 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/10/610/1

diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c
index 4580f1e..c829c49 100644
--- a/src/osmo-bts-sysmo/sysmobts_vty.c
+++ b/src/osmo-bts-sysmo/sysmobts_vty.c
@@ -497,6 +497,23 @@
 						NO_STR TRX_STR DSP_TRACE_F_STR,
 						"\n", "", 0);
 
+	cfg_phy_dsp_trace_f_cmd.string =
+		vty_cmd_string_from_valstr(bts, femtobts_tracef_names,
+					   "dsp-trace-flag (", "|", ")",
+					   VTY_DO_LOWER);
+	cfg_phy_dsp_trace_f_cmd.doc =
+		vty_cmd_string_from_valstr(bts, femtobts_tracef_docs,
+					   DSP_TRACE_F_STR, "\n", "", 0);
+
+	cfg_phy_no_dsp_trace_f_cmd.string =
+		vty_cmd_string_from_valstr(bts, femtobts_tracef_names,
+					   "no dsp-trace-flag (", "|", ")",
+					   VTY_DO_LOWER);
+	cfg_phy_no_dsp_trace_f_cmd.doc =
+		vty_cmd_string_from_valstr(bts, femtobts_tracef_docs,
+					   NO_STR DSP_TRACE_F_STR, "\n",
+					   "", 0);
+
 	install_element_ve(&show_dsp_trace_f_cmd);
 	install_element_ve(&show_sys_info_cmd);
 	install_element_ve(&show_trx_clksrc_cmd);

-- 
To view, visit https://gerrit.osmocom.org/610
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibbbf81d2c4b5d3adbcbc1f08a844d262e603e571
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>



More information about the gerrit-log mailing list