Commit Graph

5339 Commits

Author SHA1 Message Date
Bartosz Taudul
cecc3783a8 Handle single and second string data in failure dispatch. 2020-09-30 15:46:00 +02:00
Bartosz Taudul
3135191e90 Wait for failure callstack to be received. 2020-09-29 18:40:04 +02:00
Bartosz Taudul
d8e653ecb4 Set memory failure callstack. 2020-09-29 18:40:04 +02:00
Bartosz Taudul
98aaca9597 Default-initialize failure data struct. 2020-09-29 18:40:04 +02:00
Bartosz Taudul
1138307bd1 Use proper macro. 2020-09-29 18:15:24 +02:00
Bartosz Taudul
44aef7660d Don't keep two variables to track one thing. 2020-09-29 17:04:41 +02:00
Bartosz Taudul
d5b6befda2 Handle new callstack ordering on server. 2020-09-29 16:59:28 +02:00
Bartosz Taudul
bd31e3d2d6 Send callstacks before sending events they belong to. 2020-09-29 16:40:19 +02:00
Bartosz Taudul
8eb51aa01d Get LFQ item before capturing callstack.
This is to ensure that thread local structures have been properly
initialized (lock-free queue buffers are thread local), as capturing
callstack involves allocating memory from rpmalloc, which must be
initialized in each thread before allocation.
2020-09-29 15:10:55 +02:00
Bartosz Taudul
d530472045 No need to format string without formatting. 2020-09-27 20:56:37 +02:00
Bartosz Taudul
1d106097e3 Don't require GLFW 3.3. 2020-09-26 12:26:18 +02:00
Bartosz Taudul
e3d690df63 Cosmetics. 2020-09-25 18:10:22 +02:00
Bartosz Taudul
6398fdf29c Update manual. 2020-09-25 18:09:29 +02:00
Bartosz Taudul
4c3dce6712 Preserve separate memory tree state for each pool. 2020-09-25 17:55:43 +02:00
Bartosz Taudul
0fe65eb8a1 Update NEWS. 2020-09-25 17:52:16 +02:00
Bartosz Taudul
ae14e7a879 Expose custom memory pools in the UI. 2020-09-25 17:51:05 +02:00
Bartosz Taudul
d238c97452 Save/load custom memory types. 2020-09-25 16:39:00 +02:00
Bartosz Taudul
ba4315c286 Store memory name in MemData struct. 2020-09-25 16:36:03 +02:00
Bartosz Taudul
97e17a8d49 Support custom names for memory plots. 2020-09-24 01:31:24 +02:00
Bartosz Taudul
5a6c8b4696 Process named memory allocations. 2020-09-24 01:31:24 +02:00
Bartosz Taudul
e99534cad7 Recompress public facing PNG images. 2020-09-24 01:31:24 +02:00
Bartosz Taudul
a4922d482c Update manual. 2020-09-24 01:31:24 +02:00
Bartosz Taudul
5e97b301b1 Update manual. 2020-09-24 01:31:24 +02:00
Bartosz Taudul
24f25751ce Prevent move and copy of ScopedZone. 2020-09-24 01:31:24 +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
751692eedd Don't track latest trace events if there's no connection. 2020-09-24 01:31:24 +02:00
Bartosz Taudul
d1ea97b474 Prepare for handling multiple memory areas. 2020-09-24 01:31:23 +02:00
Bartosz Taudul
46f0853f1b Process memory name payload transfer. 2020-09-24 01:31:23 +02:00
Bartosz Taudul
a9ce4f6454 Cosmetics. 2020-09-24 01:31:23 +02:00
Bartosz Taudul
4537276e98 Custom allocator test. 2020-09-24 01:31:23 +02:00
Bartosz Taudul
4db092437c Add support for custom allocator tracking to client. 2020-09-24 01:31:23 +02:00
Bartosz Taudul
4f382f75b5 Update manual. 2020-09-22 19:03:01 +02:00
Bartosz Taudul
86e18540a3 Update manual. 2020-09-21 02:08:35 +02:00
Bartosz Taudul
b537c33f6c Update NEWS. 2020-09-21 02:04:55 +02:00
Bartosz Taudul
a668b61320 Allow ignoring custom zone colors. 2020-09-21 02:04:13 +02:00
Bartosz Taudul
1a91acc661 Handle client disappearance broadcasts. 2020-09-20 22:40:38 +02:00
Bartosz Taudul
0a5de933c4 Don't assert on malformed broadcasts, just skip them. 2020-09-20 22:27:49 +02:00
Bartosz Taudul
c1a5ef4108 Reduce broadcast message size by 4 bytes.
Note that this is compatible with previous clients, which will never get
values 0 or 1 in the 32-bit integer that is now split between
broadcastVersion and listenPort.
2020-09-20 22:23:46 +02:00
Bartosz Taudul
593ce74042 Notify servers that client is no longer listening for connections.
This happens in these two cases:
- The client is exiting.
- A connection attempt is performed.

This message type is indicated by negative time value.
2020-09-20 22:20:33 +02:00
Bartosz Taudul
5c826c2723 Send signed active time in broadcast message.
This allows special treatment of negative values.
2020-09-20 22:15:10 +02:00
Bartosz Taudul
f9c1b63a3b Update NEWS. 2020-09-20 22:09:23 +02:00
Bartosz Taudul
6eaf0b06fd Process multiple broadcast messages in a single frame. 2020-09-20 22:08:34 +02:00
Bartosz Taudul
0814812e9b Don't block when polling for broadcast messages. 2020-09-20 22:06:28 +02:00
Bartosz Taudul
59a481451b Update manual. 2020-09-20 20:15:37 +02:00
Bartosz Taudul
fa2a554813 Update NEWS. 2020-09-20 20:12:29 +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
Bartosz Taudul
1e34b22a82 There's no QPC on non-windows systems. 2020-09-20 19:47:00 +02:00
Bartosz Taudul
5abd4c8ade Update NEWS. 2020-09-20 14:34:17 +02:00