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
常顺宇
OpenXG-RAN
Commits
98c46f70
Commit
98c46f70
authored
May 02, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a very basic tracee to ease debugging of the tracer
parent
66f03d39
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
common/utils/T/tracee/Makefile
common/utils/T/tracee/Makefile
+14
-0
common/utils/T/tracee/README
common/utils/T/tracee/README
+1
-0
common/utils/T/tracee/tracee.c
common/utils/T/tracee/tracee.c
+16
-0
No files found.
common/utils/T/tracee/Makefile
0 → 100644
View file @
98c46f70
CC
=
gcc
CFLAGS
=
-Wall
-g
-pthread
-DT_TRACER
-DT_USE_SHARED_MEMORY
-I
.
PROG
=
tracee
OBJS
=
tracee.o ../T.o
$(PROG)
:
$(OBJS)
$(CC)
$(CFLAGS)
-o
$(PROG)
$(OBJS)
-lrt
tracee.o
:
tracee.c
$(CC)
$(CFLAGS)
-c
-o
$@
$<
clean
:
rm
-f
*
.o
$(PROG)
core
common/utils/T/tracee/README
0 → 100644
View file @
98c46f70
this is a very basic tracee, used to debug the tracer
common/utils/T/tracee/tracee.c
0 → 100644
View file @
98c46f70
#include "../T.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int
main
(
void
)
{
int
frame
=
0
;
T_connect_to_tracer
(
"127.0.0.1"
,
2020
);
while
(
1
)
{
getchar
();
T
(
T_PUCCH_1AB_IQ
,
T_INT
(
0
),
T_INT
(
0
),
T_INT
(
frame
),
T_INT
(
0
),
T_INT
(
0
),
T_INT
(
0
));
frame
++
;
}
return
0
;
}
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