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
lizhongxiao
OpenXG-RAN
Commits
40d82355
Commit
40d82355
authored
Sep 19, 2022
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase log buffer: handle large log messages
parent
af04fa90
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
4 deletions
+3
-4
common/utils/LOG/log.h
common/utils/LOG/log.h
+1
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
+1
-2
openair2/LAYER2/NR_MAC_gNB/main.c
openair2/LAYER2/NR_MAC_gNB/main.c
+1
-1
No files found.
common/utils/LOG/log.h
View file @
40d82355
...
@@ -80,7 +80,7 @@ extern "C" {
...
@@ -80,7 +80,7 @@ extern "C" {
* @brief the macros that describe the maximum length of LOG
* @brief the macros that describe the maximum length of LOG
* @{*/
* @{*/
#define MAX_LOG_TOTAL 1
500
/*!< \brief the maximum length of a log */
#define MAX_LOG_TOTAL 1
6384
/*!< \brief the maximum length of a log */
/* @}*/
/* @}*/
/** @defgroup _log_level Message levels defined by LOG
/** @defgroup _log_level Message levels defined by LOG
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
View file @
40d82355
...
@@ -181,8 +181,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
...
@@ -181,8 +181,7 @@ void gNB_dlsch_ulsch_scheduler(module_id_t module_idP,
if
((
slot
==
0
)
&&
(
frame
&
127
)
==
0
)
{
if
((
slot
==
0
)
&&
(
frame
&
127
)
==
0
)
{
char
stats_output
[
16384
];
char
stats_output
[
16000
]
=
{
0
};
stats_output
[
0
]
=
'\0'
;
dump_mac_stats
(
RC
.
nrmac
[
module_idP
],
stats_output
,
sizeof
(
stats_output
),
true
);
dump_mac_stats
(
RC
.
nrmac
[
module_idP
],
stats_output
,
sizeof
(
stats_output
),
true
);
LOG_I
(
NR_MAC
,
"Frame.Slot %d.%d
\n
%s
\n
"
,
frame
,
slot
,
stats_output
);
LOG_I
(
NR_MAC
,
"Frame.Slot %d.%d
\n
%s
\n
"
,
frame
,
slot
,
stats_output
);
}
}
...
...
openair2/LAYER2/NR_MAC_gNB/main.c
View file @
40d82355
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
extern
RAN_CONTEXT_t
RC
;
extern
RAN_CONTEXT_t
RC
;
#define MACSTATSSTRLEN
65536
#define MACSTATSSTRLEN
16000
void
*
nrmac_stats_thread
(
void
*
arg
)
{
void
*
nrmac_stats_thread
(
void
*
arg
)
{
...
...
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