Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OAI-RAN-5G-sheduler_MaxTBS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAQ5G-PFC
OAI-RAN-5G-sheduler_MaxTBS
Commits
e7bca7fd
Commit
e7bca7fd
authored
7 years ago
by
Cedric Roux
Browse files
Options
Downloads
Patches
Plain Diff
Disable ITTI dump
If anyone needs it, it's a simple matter of reverting this basic commit.
parent
5fdc3077
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/utils/itti/intertask_interface.c
+15
-0
15 additions, 0 deletions
common/utils/itti/intertask_interface.c
with
15 additions
and
0 deletions
common/utils/itti/intertask_interface.c
+
15
−
0
View file @
e7bca7fd
...
@@ -325,8 +325,11 @@ int itti_send_msg_to_task(task_id_t destination_task_id, instance_t instance, Me
...
@@ -325,8 +325,11 @@ int itti_send_msg_to_task(task_id_t destination_task_id, instance_t instance, Me
/* Increment the global message number */
/* Increment the global message number */
message_number
=
itti_increment_message_number
();
message_number
=
itti_increment_message_number
();
#if 0
/* itti dump is disabled */
itti_dump_queue_message (origin_task_id, message_number, message, itti_desc.messages_info[message_id].name,
itti_dump_queue_message (origin_task_id, message_number, message, itti_desc.messages_info[message_id].name,
sizeof(MessageHeader) + message->ittiMsgHeader.ittiMsgSize);
sizeof(MessageHeader) + message->ittiMsgHeader.ittiMsgSize);
#endif
if
(
destination_task_id
!=
TASK_UNKNOWN
)
{
if
(
destination_task_id
!=
TASK_UNKNOWN
)
{
...
@@ -421,8 +424,11 @@ int itti_try_send_msg_to_task(task_id_t destination_task_id, instance_t instance
...
@@ -421,8 +424,11 @@ int itti_try_send_msg_to_task(task_id_t destination_task_id, instance_t instance
/* Increment the global message number */
/* Increment the global message number */
message_number
=
itti_increment_message_number
();
message_number
=
itti_increment_message_number
();
#if 0
/* itti dump is disabled */
itti_dump_queue_message (origin_task_id, message_number, message, itti_desc.messages_info[message_id].name,
itti_dump_queue_message (origin_task_id, message_number, message, itti_desc.messages_info[message_id].name,
sizeof(MessageHeader) + message->ittiMsgHeader.ittiMsgSize);
sizeof(MessageHeader) + message->ittiMsgHeader.ittiMsgSize);
#endif
if
(
destination_task_id
!=
TASK_UNKNOWN
)
{
if
(
destination_task_id
!=
TASK_UNKNOWN
)
{
...
@@ -716,8 +722,11 @@ void itti_mark_task_ready(task_id_t task_id)
...
@@ -716,8 +722,11 @@ void itti_mark_task_ready(task_id_t task_id)
AssertFatal
(
thread_id
<
itti_desc
.
thread_max
,
"Thread id (%d) is out of range (%d)!
\n
"
,
thread_id
,
itti_desc
.
thread_max
);
AssertFatal
(
thread_id
<
itti_desc
.
thread_max
,
"Thread id (%d) is out of range (%d)!
\n
"
,
thread_id
,
itti_desc
.
thread_max
);
#if 0
/* itti dump is disabled */
/* Register the thread in itti dump */
/* Register the thread in itti dump */
itti_dump_thread_use_ring_buffer();
itti_dump_thread_use_ring_buffer();
#endif
/* Mark the thread as using LFDS queue */
/* Mark the thread as using LFDS queue */
lfds611_queue_use
(
itti_desc
.
tasks
[
task_id
].
message_queue
);
lfds611_queue_use
(
itti_desc
.
tasks
[
task_id
].
message_queue
);
...
@@ -848,7 +857,10 @@ int itti_init(task_id_t task_max, thread_id_t thread_max, MessagesIds messages_i
...
@@ -848,7 +857,10 @@ int itti_init(task_id_t task_max, thread_id_t thread_max, MessagesIds messages_i
itti_desc
.
wait_tasks
=
0
;
itti_desc
.
wait_tasks
=
0
;
itti_desc
.
created_tasks
=
0
;
itti_desc
.
created_tasks
=
0
;
itti_desc
.
ready_tasks
=
0
;
itti_desc
.
ready_tasks
=
0
;
#if 0
/* itti dump is disabled */
itti_dump_init (messages_definition_xml, dump_file_name);
itti_dump_init (messages_definition_xml, dump_file_name);
#endif
CHECK_INIT_RETURN
(
timer_init
());
CHECK_INIT_RETURN
(
timer_init
());
...
@@ -915,7 +927,10 @@ void itti_wait_tasks_end(void)
...
@@ -915,7 +927,10 @@ void itti_wait_tasks_end(void)
exit
(
0
);
exit
(
0
);
}
}
#if 0
/* itti dump is disabled */
itti_dump_exit();
itti_dump_exit();
#endif
}
}
void
itti_send_terminate_message
(
task_id_t
task_id
)
void
itti_send_terminate_message
(
task_id_t
task_id
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment