Commit Graph

32 Commits

Author SHA1 Message Date
Bartosz Taudul
9892407ff0 Use system getopt in capture utility on unix.
This fixes header clash between getopt.h and unistd.h (required for unlink),
which prevented LTO on macos.
2021-01-27 00:32:38 +01:00
Bartosz Taudul
8adfd45453 Display failure callstack in capture utility. 2020-10-06 14:50:55 +02:00
Bartosz Taudul
9f00bde629 Use 127.0.0.1 instead of localhost in capture.
This is to keep the default address uniform between tools. There was a
case where localhost wasn't resolving properly and a connection couldn't
be established.
2020-09-24 01:31:24 +02:00
Bartosz Taudul
4a0926aa70 Early check if output is writable in capture utility. 2020-09-20 20:11:19 +02:00
Bartosz Taudul
a1916a7c6c Mark Usage() as a noreturn function. 2020-09-20 20:08:39 +02:00
Bartosz Taudul
7da17680ae Prevent overwriting existing files by the capture utility. 2020-09-20 20:04:43 +02:00
kubouch
1f6d18efcd Fix getopt include for Windows build of capture 2020-07-11 15:10:47 +03:00
kubouch
276e40ab2a Move getopt to root 2020-07-11 12:26:01 +03:00
Bartosz Taudul
3f236b7e91 Handle ^C in capture utility on windows. 2020-04-03 02:00:07 +02:00
Bartosz Taudul
9f15d402de The capture utility will connect to localhost by default. 2020-04-03 01:46:07 +02:00
Bartosz Taudul
f58c96e4b3 Display trace file size in capture utility. 2020-02-08 13:10:41 +01:00
Bartosz Taudul
f017b27ae2 RealToString() is always called with separator set to true. 2020-01-31 01:43:24 +01:00
Bartosz Taudul
fa53c2e683 Don't care about memory usage tracking data races. 2019-11-10 19:21:24 +01:00
Bartosz Taudul
9702461b09 Display elapsed time in capture utility. 2019-11-07 01:51:45 +01:00
Bartosz Taudul
f1fe2df780 Add data transferred display to capture utility. 2019-10-26 16:18:03 +02:00
Bartosz Taudul
82cd667b30 Allow specifying network port in server. 2019-09-21 15:43:01 +02:00
Bartosz Taudul
41beff29a9 Remove redundant GetTimeBegin().
Traces now start at zero time.
2019-08-15 21:04:20 +02:00
Bartosz Taudul
1a32edebf2 Extract text printing functions. 2019-06-18 20:43:28 +02:00
Bartosz Taudul
e4e20b47ca Handle dropped connection in capture utility. 2019-02-12 11:13:53 +01:00
Bartosz Taudul
606a4502e0 Fix MSVC build.
"SIGINT is not supported for any Win32 application."
2019-01-24 20:04:08 +01:00
Bartosz Taudul
34c9cf512e Disconnect on ^C in capture utility. 2019-01-24 19:13:09 +01:00
Bartosz Taudul
9944a73444 Store failure reason strings in Worker. 2019-01-15 18:42:15 +01:00
Bartosz Taudul
3cd97138fc Capture utility also displays failure messages. 2019-01-14 23:52:38 +01:00
Bartosz Taudul
b6e9905155 Display time span during capture in capture utility. 2018-09-18 16:24:32 +02:00
Bartosz Taudul
920f9ac7aa More compact network statistics display. 2018-09-18 16:20:41 +02:00
Bartosz Taudul
9211ce42da Non-on-demand client is only able to handle one connection. 2018-09-09 19:42:06 +02:00
Bartosz Taudul
984a711666 Send protocol version to verify handshake. 2018-09-09 19:28:53 +02:00
Bartosz Taudul
b92087bd95 Fix capture utility. 2018-08-04 23:53:21 +02:00
Bartosz Taudul
16a98c8c17 Move benaphore to common directory. 2018-04-01 18:59:55 +02:00
Bartosz Taudul
045870ad95 Doh! FileWrite destructor was never called. 2018-03-29 01:11:54 +02:00
Bartosz Taudul
2f2dd2fc21 Display basic capture information. 2018-03-10 02:25:29 +01:00
Bartosz Taudul
c673f70f90 Add command line trace capture utility. 2018-03-10 01:29:27 +01:00