Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
927c3102
Commit
927c3102
authored
Nov 05, 2018
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enabling T tracer for dlsim to get control of log messages
parent
cfef9ef0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
7 deletions
+3
-7
cmake_targets/phy_simulators/CMakeLists.txt
cmake_targets/phy_simulators/CMakeLists.txt
+1
-1
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+2
-6
No files found.
cmake_targets/phy_simulators/CMakeLists.txt
View file @
927c3102
...
...
@@ -9,5 +9,5 @@ set(MU_RECIEVER False)
set
(
NAS_UE False
)
set
(
MESSAGE_CHART_GENERATOR False
)
set
(
RRC_ASN1_VERSION
"Rel14"
)
set
(
T_TRACER
Fals
e
)
set
(
T_TRACER
Tru
e
)
include
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/../CMakeLists.txt
)
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
927c3102
...
...
@@ -546,7 +546,7 @@ int main(int argc, char **argv)
int
c
;
int
k
,
i
,
j
,
aa
;
int
re
;
int
loglvl
=
OAILOG_
DEBU
G
;
int
loglvl
=
OAILOG_
WARNIN
G
;
int
s
,
Kr
,
Kr_bytes
;
...
...
@@ -1073,12 +1073,8 @@ int main(int argc, char **argv)
AssertFatal
(
load_configmodule
(
argc
,
argv
)
!=
NULL
,
"cannot load configuration module, exiting
\n
"
);
logInit
();
// enable these lines if you need debug info
set_glog
(
loglvl
);
// moreover you need to init itti with the following line
// however itti will catch all signals, so ctrl-c won't work anymore
// alternatively you can disable ITTI completely in CMakeLists.txt
//itti_init(TASK_MAX, THREAD_MAX, MESSAGES_ID_MAX, tasks_info, messages_info, messages_definition_xml, NULL);
T_stdout
=
1
;
if
(
common_flag
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment