Commit Graph
9 Commits
Author SHA1 Message Date
Cedric Roux 6d7a1a1623 minor: improve T tracer logs 2017-10-11 11:40:42 +02:00
Cedric Roux bb051c0219 T_messages.txt is now sent by local_tracer.c
And it's sent at each connection attempt.
Before it was sent only once to the first tracer.
Plus there was a bug (length:(len) should have been length:(send_size)).
2016-06-23 11:09:05 +02:00
Cedric Roux d47e307472 rename T_cache to T_local_cache in T/local_tracer.c
needed because of the following commit
2016-06-23 11:06:48 +02:00
Cedric Roux 127ca5ee81 minor improvement
always a good idea to crash in unknown situations...
2016-06-06 09:35:12 +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 a9d91337c0 bugfix: local tracer to accept connection from everywhere 2016-06-04 22:41:14 +02:00
Cedric Roux 2cb4d347d0 make the local tracer more robust
if a read from the remote tracer's socket fails, let's smash
the socket and wait for another remote tracer
2016-06-01 17:44:53 +02:00
Cedric Roux 2219fe54ef the tracer can now stop its tracing without disturbing the tracee
it's buggy. Next commit to fix it.

The problem is if the tracer exits while sending a message.
The local tracer will not get it full and will throw garbage
to the T in the tracee, leading to some bad things...
2016-06-01 17:18:57 +02:00
Cedric Roux 358a37910c put local tracer in tracee
plus some cleanup here and there
2016-06-01 15:42:29 +02:00