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

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
Thu Jul 28 09:24:24 UTC 2016


Hello Harald Welte, Jenkins Builder,

I'd like you to reexamine a change.  Please visit

    https://gerrit.osmocom.org/610

to look at the new patch set (#3).

Fix dsp tracing at phy config

Due to missing runtime cmd patching DSP tracing was not possible at phy
level of config file. No it is possible to specify it as follows:

...
phy 0
 instance 0
  dsp-trace-flag debug
  dsp-trace-flag mph_cnf
...

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/3

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: newpatchset
Gerrit-Change-Id: Ibbbf81d2c4b5d3adbcbc1f08a844d262e603e571
Gerrit-PatchSet: 3
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list