Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
a81488c0
Commit
a81488c0
authored
Jul 22, 2014
by
gauthier
Browse files
trace malloc
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5580
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
5345032a
Changes
1
Hide whitespace changes
Inline
Side-by-side
targets/SIMU/USER/oaisim_functions.c
View file @
a81488c0
...
...
@@ -34,7 +34,7 @@
#include
<signal.h>
#include
<execinfo.h>
#include
<time.h>
#include
<mcheck.h>
#include
<sys/timerfd.h>
#include
"assertions.h"
...
...
@@ -188,6 +188,8 @@ void get_simulation_options(int argc, char *argv[]) {
LONG_OPTION_UE_MIHF_REMOTE_PORT
,
LONG_OPTION_UE_MIHF_IP_ADDRESS
,
LONG_OPTION_UE_MIHF_ID
,
LONG_OPTION_MALLOC_TRACE_ENABLED
,
};
static
struct
option
long_options
[]
=
{
...
...
@@ -215,6 +217,7 @@ void get_simulation_options(int argc, char *argv[]) {
{
"ue-mihf-ip-address"
,
required_argument
,
0
,
LONG_OPTION_UE_MIHF_IP_ADDRESS
},
{
"ue-mihf-id"
,
required_argument
,
0
,
LONG_OPTION_UE_MIHF_ID
},
{
"malloc-trace-enabled"
,
no_argument
,
0
,
LONG_OPTION_MALLOC_TRACE_ENABLED
},
{
NULL
,
0
,
NULL
,
0
}
};
...
...
@@ -242,8 +245,13 @@ void get_simulation_options(int argc, char *argv[]) {
break
;
case
LONG_OPTION_OEH_ENABLED
:
oai_emulation
.
info
.
oeh_enabled
=
1
;
break
;
oai_emulation
.
info
.
oeh_enabled
=
1
;
break
;
case
LONG_OPTION_MALLOC_TRACE_ENABLED
:
mtrace
();
break
;
#if defined(ENABLE_RAL)
case
LONG_OPTION_ENB_RAL_LISTENING_PORT
:
if
(
optarg
)
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment