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
alex037yang
OpenXG-RAN
Commits
23ec84ef
Commit
23ec84ef
authored
May 02, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
option -debug-gui to textlog
parent
629eb511
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
common/utils/T/tracer/gui/x.c
common/utils/T/tracer/gui/x.c
+1
-1
common/utils/T/tracer/remote.c
common/utils/T/tracer/remote.c
+4
-1
No files found.
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
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