Cedric Roux
6a809e84de
add option -full to textlog.c to display full content of buffers
2016-06-22 16:13:47 +02:00
Cedric Roux
9d49702639
cleanup: put DEFAULT_REMOTE_IP and DEFAULT_REMOTE_PORT in utils.h
2016-06-17 11:14:14 +02:00
Cedric Roux
1f389ec019
cleanup: rename PHY traces (and update code to reflect the changes)
2016-06-16 12:16:20 +02:00
Cedric Roux
88c44ef9fe
rename store_config_file load_config_file
2016-06-05 17:54:38 +02:00
Cedric Roux
1a9d614f0e
take care of SIGPIPE received when writing a dead socket
...
write() on a socket with the other end closed throws a SIGPIPE.
Let's ignore this signal. write() will return an error anyway...
2016-06-05 17:42:44 +02:00
Cedric Roux
83350a807f
reading a socket does not abort anymore
...
fullread has been changed, so get_event too, and the callers also
for the moment the callers crash, enb.c will be a bit more clever,
the others to see...
2016-06-05 17:39:06 +02:00
Cedric Roux
9338f06e90
socket_send does not crash anymore but returns an error
...
The application (enb.c basically) will now monitor the socket
and reconnect if it dies. See following commits.
2016-06-05 13:10:52 +02:00
Cedric Roux
51292c2472
event_selector does not deal with socket anymore
...
It was wrong.
Plus it is starting work so as to make enb.c not crashing if
the tracee goes away (maybe also textlog and vcd, but those are of
less importance).
2016-06-04 23:48:03 +02:00
Cedric Roux
b3889a44be
integration of local tracer into tracee - step 2
...
The local tracer now waits for the remote tracer to connect,
that's no more the other way around.
All the remote tracers (textlog, enb, vcd) have also been converted.
2016-05-31 18:01:49 +02:00
Cedric Roux
2e64d54e9e
the tracee (lte-softmodem) now sends the content of T_messages.txt
...
as special events.
If we store all received events to a file, this dump is now
self-contained. Helps to analyze traces.
Some functions have also been factorized in the process, too much
duplication.
(Also tracer/Makefile was forgotten in previous commit, included
in this one...)
2016-05-25 14:15:47 +02:00
Cedric Roux
df5afaa93d
store received time in events for later processing
2016-05-12 13:00:19 +02:00
Cedric Roux
e5689a5bd1
introducing a generic logger "class"
2016-05-12 10:59:59 +02:00
Cedric Roux
d8ec913bcd
minor bugfix - forgot an ifdef
2016-05-11 18:33:40 +02:00
Cedric Roux
aacb2ff7c2
send time in events
...
this calls clock_gettime for each active T macro, hopefully it
does not eat too much CPU
can be deactivated by commenting one line in T_defs.h
2016-05-11 18:26:30 +02:00
Cedric Roux
8cca28b3e7
put textlog.[ch] in logger/ and rename remote.c to textlog.c
2016-05-04 10:31:42 +02:00
Cedric Roux
f0d32a8611
smaller event selector window
2016-05-02 16:55:17 +02:00
Cedric Roux
c3e59b16b3
some work on event selector
2016-05-01 22:43:36 +02:00
Cedric Roux
2df85ee84a
cleanup
2016-04-28 16:36:03 +02:00
Cedric Roux
ca945b53de
first version of textlog with GUI
...
introducing generic "view" with two instantiations: stdout and textlist
2016-04-28 15:02:01 +02:00
Cedric Roux
e15a809458
first version of a textlog remote logger
2016-04-27 18:31:34 +02:00