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
98c46f70
Commit
98c46f70
authored
May 02, 2016
by
Cédric Roux
Browse files
add a very basic tracee to ease debugging of the tracer
parent
66f03d39
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
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