Commit Graph
1390 Commits
Author SHA1 Message Date
Bartosz Taudul 3a885bb8fd Support callstack collection for OpenGL GPU zones. 2018-06-22 02:13:35 +02:00
Bartosz Taudul 225ed4e037 Update NEWS. 2018-06-22 01:58:50 +02:00
Bartosz Taudul e5f673eaa0 Allow viewing callstack from gpu zone info window. 2018-06-22 01:58:25 +02:00
Bartosz Taudul 35dc2f796e Process GpuZoneBeginCallstack queue event. 2018-06-22 01:56:32 +02:00
Bartosz Taudul b213e5f415 Vulkan zone callstack collection. 2018-06-22 01:47:08 +02:00
Bartosz Taudul a1424c4112 Vulkan tracing is not thread safe. 2018-06-22 01:41:28 +02:00
Bartosz Taudul 7e4f00fac0 Update NEWS. 2018-06-22 01:31:06 +02:00
Bartosz Taudul 4992ae6b39 Take callstack field in ZoneEvent into account in save/load. 2018-06-22 01:30:08 +02:00
Bartosz Taudul e40c5068c9 Allow viewing callstack from zone info window. 2018-06-22 01:21:51 +02:00
Bartosz Taudul 5e01a8ead9 Process callstack queue event. 2018-06-22 01:15:49 +02:00
Bartosz Taudul 205a4e4ca2 Add callstack index to ZoneEvent. 2018-06-22 01:11:03 +02:00
Bartosz Taudul 978e168cbd Handle ZoneBeginCallstack queue event.
This is identical to ZoneBegin handling, but requires some additional
bookkeeping to account for the incoming callstack information.
2018-06-22 01:07:25 +02:00
Bartosz Taudul b6088b908f Callstack capture for ZoneBegin. 2018-06-22 00:56:30 +02:00
Bartosz Taudul c0b086240c Update NEWS. 2018-06-22 00:33:09 +02:00
Bartosz Taudul bd041b6267 More accurate ARM timing information. 2018-06-22 00:29:01 +02:00
Bartosz Taudul 8de92a8c9e String pooling is meh. 2018-06-22 00:25:30 +02:00
Bartosz Taudul 7086320d64 Thread naming support has been greatly improved. 2018-06-22 00:25:13 +02:00
Bartosz Taudul 94c9c89ad0 Enable thread name collection on old windows SDKs. 2018-06-22 00:23:50 +02:00
Bartosz Taudul ed40a3d989 Discourage embedding server into client application. 2018-06-22 00:16:53 +02:00
Bartosz Taudul 63611403ff Add memory profiling documentation. 2018-06-22 00:15:50 +02:00
Bartosz Taudul 3404d191f0 Fix non-unique child ids in memory window. 2018-06-22 00:10:00 +02:00
Bartosz Taudul d716195afa Move server setup to the top of README. 2018-06-22 00:09:37 +02:00
Bartosz Taudul bf7402e8b0 Android callstack collection using _Unwind_Backtrace(). 2018-06-21 17:07:21 +02:00
Bartosz Taudul 0c13fb818b Initialize rpmalloc in Mem{Alloc,Free}Callstack().
rpmalloc may still be uninitialized here (i.e. if memory allocation/free
is performed before any other tracy operation that would initialize
thread_local data). Since memory allocations are using serialized queue
(which is not held in thread_local section) and obtaining callstack
involves memory allocation, we need to initialize rpmalloc manually.

This won't be a problem when support for zone callbacks becomes online,
because zones are stored in per-thread queues, which initialize
thread_local data before rpmalloc is needed in the Callstack() call.
2018-06-21 17:02:40 +02:00
Bartosz Taudul 3f7ab10323 Don't show line number if it's 0. 2018-06-21 13:26:04 +02:00
Bartosz Taudul 937141b7e3 Include symbol address in location field on linux. 2018-06-21 13:14:13 +02:00
Bartosz Taudul b3ca36f3f4 Include symbol offset in symbol name on linux. 2018-06-21 13:10:48 +02:00
Bartosz Taudul 973eab2b4a Fix typo. 2018-06-20 23:42:00 +02:00
Bartosz Taudul 909166daf7 Hide SendCallstackMemory(). 2018-06-20 23:30:19 +02:00
Bartosz Taudul 8c46ad81d5 Extract common code. 2018-06-20 23:29:44 +02:00
Bartosz Taudul 2a618c90d5 Properly save compressed thread in GPU events. 2018-06-20 23:12:49 +02:00
Bartosz Taudul 1856d057c1 Update NEWS. 2018-06-20 23:02:52 +02:00
Bartosz Taudul 32278364cd Demangle symbol names. 2018-06-20 23:01:00 +02:00
Bartosz Taudul c8f51d7f11 More involved callstack frame description on linux. 2018-06-20 22:54:42 +02:00
Bartosz Taudul 36d81412a0 Fix copy pasta. 2018-06-20 22:27:46 +02:00
Bartosz Taudul 601c80466c Fix use-after-free. 2018-06-20 22:18:12 +02:00
Bartosz Taudul 5541cd6c97 Linux callstack retrieval. 2018-06-20 21:54:11 +02:00
Bartosz Taudul dc20742b5b Callstack support needs the -rdynamic flag. 2018-06-20 21:02:14 +02:00
Bartosz Taudul b4b08a0b29 Windows header poisoning should be avoided only in headers.
This fixes cygwin.
2018-06-20 21:01:25 +02:00
Bartosz Taudul 45cec65eef Don't assign const char ptr to char ptr. 2018-06-20 20:35:57 +02:00
Bartosz Taudul 6c9add0f30 Track memory allocations in test application. 2018-06-20 19:48:14 +02:00
Bartosz Taudul 09304390dd Overload operator new and delete in test. 2018-06-20 19:45:20 +02:00
Bartosz Taudul cef972fe25 Remove parenthesis from callstack location. 2018-06-20 17:07:48 +02:00
Bartosz Taudul e495747b88 Fix off-by-one. 2018-06-20 17:02:05 +02:00
Bartosz Taudul 7912807133 Wait for transfer of pending callback frames. 2018-06-20 14:57:48 +02:00
Bartosz Taudul 60395c85e0 Wait for pending callstacks. 2018-06-20 14:54:08 +02:00
Bartosz Taudul e95ca3930d Make all allocation list alloc/free buttons clickable. 2018-06-20 14:50:07 +02:00
Bartosz Taudul a9fa8f966b Fix "zone free" indentation in allocation list. 2018-06-20 14:44:24 +02:00
Bartosz Taudul bc565e65d1 Better callstack info window layout. 2018-06-20 14:41:00 +02:00
Bartosz Taudul 0d509ea3a6 Add missing EndColumns() call. 2018-06-20 14:37:55 +02:00