Commit Graph
176 Commits
Author SHA1 Message Date
Cedric Roux aea2da5e4f minor compilation warning fix 2016-07-08 12:57:33 +02:00
Cedric Roux c4c288cb90 minor bugfix 2016-07-08 12:57:13 +02:00
Cedric Roux 3310c2a93f cosmetic changes 2016-07-08 12:56:25 +02:00
Cedric Roux be03e9f80f bugfix in enb.c
we have to free memory in any case...
2016-06-24 18:11:09 +02:00
Cedric Roux 1a6c20cf76 bugfix: record.c did not manage ctrl+c and ctrl+z correctly
ctrl+c did not work when the program was not connected yet.
It also didn't work if no event was received.
2016-06-23 14:48:25 +02:00
Cedric Roux 832ecfb470 update enb.c to include MAC PDU/SDU with full buffer logs 2016-06-23 12:41:19 +02:00
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 31e1be78fa add possibility to logger 'textlog' to print full content of buffers 2016-06-22 16:12:26 +02:00
Cedric Roux 088db3cf37 new function PUTX2 to display an int as an 8 bits hexadecimal 2016-06-22 16:10:32 +02:00
Cedric Roux bbcfd0047c add a "hacks" directory with hackish-quality pieces of software
stuff put in there is of lower quality / coding standard / whatever
and serves as example to do quick debugging taks using the T
infrastructure
2016-06-22 11:14:27 +02:00
Cedric Roux 3c5e27618d add PUSCH IQ and UL channel estimates for UE 0 to enb.c 2016-06-22 11:10:53 +02:00
Cedric Roux f31145ac96 new IQ logger
the current version is very specific to PUSCH IQ data, where the
input buffer has a special format

to be rewritten cleanly at some point
2016-06-22 10:58:25 +02:00
Cedric Roux d2bd09bb9d add function framelog_set_update_only_at_sf9 and update code about it 2016-06-22 10:55:34 +02:00
Cedric Roux 8c328e00b0 increase size of enb.c man window 2016-06-22 10:53:59 +02:00
Cedric Roux 0f0fa90d16 xy view to exist in two flavours
XY_LOOP_MODE: replace old points with new ones, using the maximum size
              of the view
XY_FORCE_MODE: append_forced sets those and only those points
               and we crash if we pass too much points
2016-06-20 15:40:53 +02:00
Cedric Roux 8e458d9c9b add a very basic step mechanism to replay.c 2016-06-20 11:36:17 +02:00
Cedric Roux 8e28dacdd9 add a small utility to extract a configuration file from a log 2016-06-17 15:39:25 +02:00
Cedric Roux 99d1328d6e add a very basic replay tracer
to be used in conjunction with another tracer
so conceptually it's more a tracee than a tracer
2016-06-17 15:16:49 +02:00
Cedric Roux 97d1dcbccd add a 'record' tracer 2016-06-17 15:16:19 +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 468020879e enb.c logs MAC/RLC/PDCP
very basic, to be refined, find a nice way to display (plot? text?)
protocol data movement
2016-06-10 10:48:39 +02:00
Cedric Roux dd55be2c67 cleanup 2016-06-09 17:35:41 +02:00
Cedric Roux 57240cc03b switch to utf-8 2016-06-09 17:33:43 +02:00
Cedric Roux b0e50688ee cleanup: introduce ticktime_filter() 2016-06-09 16:20:32 +02:00
Cedric Roux f9843f46bc add UL/DL harq ticktime view to enb.c 2016-06-09 10:51:24 +02:00
Cedric Roux 6f72af21c2 make tick larger in ticktime.c
3 pixels wide look better than 1
2016-06-09 10:47:27 +02:00
Cedric Roux bdd8ee3eed restructure a bit the views in enb.c
more readable, still not satisfying though
2016-06-09 10:41:38 +02:00
Cedric Roux 1dff773eb2 add 'and' filter operation 2016-06-08 16:47:45 +02:00
Cedric Roux 72f56da6b6 add a filter to loggers
events are accepted by the logger if the filter accepts them
the filter is optional (no filter means to accept all events)
2016-06-08 16:35:08 +02:00
Cedric Roux 63652f94fa tick timeview/log
this is like timeview but the plotting is done at frame/subframe
resolution of a given reference clock signal, let's say.

The realtime information of the events is not used. It's all
logical.

It will be used to log harq processes for the moment.
2016-06-08 12:50:35 +02:00
Cedric Roux c96039108c update enb.c to trace uplink dci/retrans/ack/nack
and also start to use the PHY textview
2016-06-06 11:41:39 +02:00
Cedric Roux 0b7d242083 enb.c stays alive if tracee dies
enb.c will then try to reconnect.
2016-06-05 17:57:57 +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 daf9f16b9b minor: gui/image.c did include string.h 2016-06-04 23:23:19 +02:00
Cedric Roux 358a37910c put local tracer in tracee
plus some cleanup here and there
2016-06-01 15:42:29 +02:00
Cedric Roux f5313266ad integration of local tracer into tracee - step 3
get rid of forward.c, make everything static inside local.c
2016-05-31 18:30:59 +02:00
Cedric Roux 3b226410d2 cleanup
remove forward stuff from defs.h
remove defs.h from local.c and forward.c
2016-05-31 18:09:26 +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 b6854b15b8 cleanup 2016-05-31 17:18:30 +02:00
Cedric Roux 6b9db37802 start integrating local tracer directly into tracee
first step: let the tracee connect before the remote tracer
and let's have a "no wait" mode where the local tracer starts
the tracee before the remote tracer is connected
2016-05-31 17:06:45 +02:00
Cedric Roux 3a71ecb759 remove T_USE_SHARED_MEMORY
The T only works when it's TRUE, the version without shared memory
is not supported anymore.
2016-05-31 15:47:55 +02:00
Cedric Roux 655e48c5dc enable legacy RRC info/error/warning by default in enb.c
can be deactivated on the command line or in the gui
2016-05-27 18:40:09 +02:00
Cedric Roux d9202e43f7 add RRC traces to the RRC view in enb.c 2016-05-27 18:39:40 +02:00
Cedric Roux fc1c621a18 better colors in enb.c 2016-05-27 17:27:43 +02:00
Cedric Roux eeefd61433 let's print nanosecond in times of textlog instead of closest millisecond 2016-05-27 17:26:29 +02:00