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
23ec84ef
Commit
23ec84ef
authored
May 02, 2016
by
Cédric Roux
Browse files
option -debug-gui to textlog
parent
629eb511
Changes
2
Hide whitespace changes
Inline
Side-by-side
common/utils/T/tracer/gui/x.c
View file @
23ec84ef
...
...
@@ -189,7 +189,7 @@ void x_events(gui *_gui)
}
break;
#endif
default:
WARN
(
"TODO: X event type %d
\n
"
,
ev
.
type
);
break
;
default:
if
(
gui_logd
)
WARN
(
"TODO: X event type %d
\n
"
,
ev
.
type
);
break
;
}
}
...
...
common/utils/T/tracer/remote.c
View file @
23ec84ef
...
...
@@ -59,7 +59,8 @@ void usage(void)
" they will be processed in order
\n
"
" by default, all is off
\n
"
" -p <port> use given port (default %d)
\n
"
" -x GUI output
\n
"
,
" -x GUI output
\n
"
" -debug-gui active GUI debug logs
\n
"
,
DEFAULT_REMOTE_PORT
);
exit
(
1
);
...
...
@@ -102,6 +103,7 @@ static void *gui_thread(void *_g)
int
main
(
int
n
,
char
**
v
)
{
extern
int
volatile
gui_logd
;
char
*
database_filename
=
NULL
;
void
*
database
;
int
port
=
DEFAULT_REMOTE_PORT
;
...
...
@@ -138,6 +140,7 @@ int main(int n, char **v)
if
(
!
strcmp
(
v
[
i
],
"-OFF"
))
{
on_off_name
[
on_off_n
]
=
NULL
;
on_off_action
[
on_off_n
++
]
=
0
;
continue
;
}
if
(
!
strcmp
(
v
[
i
],
"-x"
))
{
gui_mode
=
1
;
continue
;
}
if
(
!
strcmp
(
v
[
i
],
"-debug-gui"
))
{
gui_logd
=
1
;
continue
;
}
usage
();
}
...
...
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