Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openairinterface5G
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Kun
openairinterface5G
Commits
23ec84ef
Commit
23ec84ef
authored
8 years ago
by
Cédric Roux
Browse files
Options
Downloads
Patches
Plain Diff
option -debug-gui to textlog
parent
629eb511
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
common/utils/T/tracer/gui/x.c
+1
-1
1 addition, 1 deletion
common/utils/T/tracer/gui/x.c
common/utils/T/tracer/remote.c
+4
-1
4 additions, 1 deletion
common/utils/T/tracer/remote.c
with
5 additions
and
2 deletions
common/utils/T/tracer/gui/x.c
+
1
−
1
View file @
23ec84ef
...
@@ -189,7 +189,7 @@ void x_events(gui *_gui)
...
@@ -189,7 +189,7 @@ void x_events(gui *_gui)
}
}
break;
break;
#endif
#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
;
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
common/utils/T/tracer/remote.c
+
4
−
1
View file @
23ec84ef
...
@@ -59,7 +59,8 @@ void usage(void)
...
@@ -59,7 +59,8 @@ void usage(void)
" they will be processed in order
\n
"
" they will be processed in order
\n
"
" by default, all is off
\n
"
" by default, all is off
\n
"
" -p <port> use given port (default %d)
\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
DEFAULT_REMOTE_PORT
);
);
exit
(
1
);
exit
(
1
);
...
@@ -102,6 +103,7 @@ static void *gui_thread(void *_g)
...
@@ -102,6 +103,7 @@ static void *gui_thread(void *_g)
int
main
(
int
n
,
char
**
v
)
int
main
(
int
n
,
char
**
v
)
{
{
extern
int
volatile
gui_logd
;
char
*
database_filename
=
NULL
;
char
*
database_filename
=
NULL
;
void
*
database
;
void
*
database
;
int
port
=
DEFAULT_REMOTE_PORT
;
int
port
=
DEFAULT_REMOTE_PORT
;
...
@@ -138,6 +140,7 @@ int main(int n, char **v)
...
@@ -138,6 +140,7 @@ int main(int n, char **v)
if
(
!
strcmp
(
v
[
i
],
"-OFF"
))
if
(
!
strcmp
(
v
[
i
],
"-OFF"
))
{
on_off_name
[
on_off_n
]
=
NULL
;
on_off_action
[
on_off_n
++
]
=
0
;
continue
;
}
{
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
],
"-x"
))
{
gui_mode
=
1
;
continue
;
}
if
(
!
strcmp
(
v
[
i
],
"-debug-gui"
))
{
gui_logd
=
1
;
continue
;
}
usage
();
usage
();
}
}
...
...
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