1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00
Commit Graph

387 Commits

Author SHA1 Message Date
Bartosz Taudul d4c0d4fbb7 Rename CallstackMemory to CallstackSerial. 2021-01-15 20:49:39 +01:00
Bartosz Taudul 5a8d30ddc3 Add transient OpenGL zones. 2021-01-15 20:13:09 +01:00
Bartosz Taudul 025ab1626b Bind only on IPv4, if restricted to localhost.
This is needed, as disabling the IPV6_V6ONLY socket option doesn't work for
localhost listeners on Windows.
2020-12-16 15:33:05 +01:00
Bartosz Taudul 2049332211 Broadcast to localhost if listening only on localhost. 2020-12-16 15:27:00 +01:00
Bartosz Taudul 6f83044cf6 Broadcast to the given address. 2020-12-16 15:24:20 +01:00
Ben Vanik 7dfdad2e02 Adding ZoneColor to set a dynamic color override to an existing zone. 2020-11-27 20:12:24 +01:00
Bartosz Taudul 278b58728c Wrap lz4 in tracy namespace, etc. 2020-11-16 18:13:19 +01:00
Bartosz Taudul bae4c5f8df Update lz4 to 1.9.3, without tracy-specific changes. 2020-11-16 17:46:11 +01:00
Bartosz Taudul 01e5c289b7 Add tracy_realloc() function. 2020-10-22 22:24:32 +02:00
Bartosz Taudul b6724bec3a Ports are uint16_t. 2020-10-02 18:51:54 +02:00
Bartosz Taudul bd31e3d2d6 Send callstacks before sending events they belong to. 2020-09-29 16:40:19 +02:00
Bartosz Taudul 4db092437c Add support for custom allocator tracking to client. 2020-09-24 01:31:23 +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 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 0814812e9b Don't block when polling for broadcast messages. 2020-09-20 22:06:28 +02:00
Bartosz Taudul e2d69e7981 Implement reading unknown lengths of data from socket. 2020-09-10 21:39:58 +02:00
Bartosz Taudul 72ce3ccf15 Allow issuing blocking connect calls on sockets. 2020-09-10 20:56:24 +02:00
Bartosz Taudul 813e45198d Cygwin uses BSD sockets API. 2020-09-06 14:11:29 +02:00
Graydon Hoare 2ea81a3ef9 Make TRACY_ONLY_IPV4 and TRACY_ONLY_LOCALHOST also settable with runtime env vars. 2020-08-27 11:21:24 -07:00
Graydon Hoare 30a6a5cdd1 Add support for TRACY_ONLY_IPV4 macro to exclude listening on IPv6 2020-08-27 11:21:24 -07:00
Bartosz Taudul 5239b706c3 Allow disabling code transfer. 2020-08-16 01:31:54 +02:00
Bartosz Taudul 9455c92712 Handle broken inet_ntop on old Windows SDKs. 2020-08-11 22:37:46 +02:00
Bartosz Taudul 2a61c0a45f Merge pull request #83 from voysys/add-set-thread-name-to-c-api
Add set thread name to C API
2020-08-04 11:54:56 +02:00
Niclas Olmenius 826affb0b5 add set thread to c api 2020-08-04 11:51:48 +02:00
Jim Blandy 7bc8c6283a Factor out Unix build logic into shared files. 2020-07-31 11:08:36 -07:00
Jim Blandy 652582b119 Factor out makefile TBB detection, apply to all tools. 2020-07-31 09:14:12 -07:00
Bartosz Taudul 7e6a41e647 No need for lean alloc srcloc zone begin messages. 2020-07-26 14:35:04 +02:00
Bartosz Taudul 062bb3044f No need for lean callstack sample message. 2020-07-26 14:28:13 +02:00
Bartosz Taudul 4252cac654 No need for lean callstack alloc message. 2020-07-26 14:25:32 +02:00
Bartosz Taudul 18713de70c No need for lean frame image message. 2020-07-26 14:23:04 +02:00
Bartosz Taudul b76726c597 No need for lean callstack, callstack memory messages. 2020-07-26 14:23:03 +02:00
Bartosz Taudul 14a15bf152 Order of lock events is now always well-defined. 2020-07-26 13:54:40 +02:00
Bartosz Taudul b7af9a0860 Reduce frame images frame index to 32 bit. 2020-07-26 13:46:05 +02:00
Bartosz Taudul 03f46d7228 Custom string data is no longer needed. 2020-07-26 01:47:49 +02:00
Bartosz Taudul c0b73c248f Add second single string transfer. 2020-07-26 01:47:49 +02:00
Bartosz Taudul a7d2ab4d4f Send single string for lock name. 2020-07-26 01:47:49 +02:00
Bartosz Taudul e91950f006 Send single string for messages. 2020-07-26 01:35:52 +02:00
Bartosz Taudul 5553761c02 Send single string for zone text and name. 2020-07-26 01:35:52 +02:00
Bartosz Taudul 309a151610 Symbol length no longer has to be packed. 2020-07-26 01:35:52 +02:00
Bartosz Taudul 88685440b6 Send single string for callstack frame. 2020-07-26 01:35:52 +02:00
Bartosz Taudul 61e3acde06 Send single string for callstack frame size. 2020-07-26 01:35:52 +02:00
Bartosz Taudul 06ca4e2d16 Send single string for symbol information. 2020-07-26 01:35:52 +02:00
Bartosz Taudul 14b180cd16 Send single string for code information. 2020-07-26 01:35:51 +02:00
Bartosz Taudul 81d5a8db5e Implement transport of single string data.
In most cases only one string is sent per message and no pointer
tracking is needed.

This is only plumbing work, no changes to messages have been made yet.
2020-07-26 01:35:51 +02:00
Bartosz Taudul 02e7893c75 Preserve messages size. 2020-07-21 20:58:58 +02:00
Bartosz Taudul 9d01fa86ab Preserve zone text, zone name string length. 2020-07-21 20:58:58 +02:00
Bartosz Taudul 1b6bc1b69a Send Vulkan GPU calibration messages. 2020-07-07 21:25:35 +02:00
Bartosz Taudul 384e2e3fa1 Reduce memory requirements of allocated call stacks. 2020-07-05 17:33:29 +02:00
Bartosz Taudul d8466c5839 Fix typo. 2020-06-20 18:50:05 +02:00
Bartosz Taudul f7727f3aa4 Workaround broken connect implementation. 2020-06-20 18:35:21 +02:00