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

4766 Commits

Author SHA1 Message Date
Bartosz Taudul d35d9b60ff Bump protocol and version for OpenCL support. 2020-06-06 14:57:48 +02:00
Bartosz Taudul 57f1ef05c7 Merge pull request #31 from mcleary/opencl-support
Add OpenCL trace support
2020-06-06 14:56:29 +02:00
Bartosz Taudul 06158de6da Update README. 2020-06-06 12:37:05 +02:00
Bartosz Taudul ecfeb01aad Set source view content width to max value, regardless of clipping. 2020-06-06 12:37:05 +02:00
Bartosz Taudul 4dc07d6e60 Merge pull request #39 from lbuchy/FixZoneScopedNCS
Fix missing comma in ZoneScopedNCS macro
2020-06-06 12:08:12 +02:00
Logan Buchy 22ef78333d Fix missing comma in ZoneScopedNCS macro 2020-06-05 21:30:16 -07:00
Bartosz Taudul c33d9cbc6e Merge pull request #38 from benvanik/patch-1
Capture Vulkan timestamps at BOTTOM_OF_PIPE instead of TOP_OF_PIPE
2020-06-06 00:05:36 +02:00
Ben Vanik 5029c12de1 Capture Vulkan timestamps at BOTTOM_OF_PIPE instead of TOP_OF_PIPE
This is so that the GPU will wait for all previous commands to finish (hit bottom of pipe) before taking the enter timestamp and then whatever was recorded within the scope to finish (hit bottom of pipe) before taking the leave timestamp. TOP_OF_PIPE (particularly at the scope exit) was just recording the time of when the recorded work within the VkCtxScope was starting (hit top of the pipe) and not waiting for it to complete.
2020-06-05 15:02:04 -07:00
Bartosz Taudul a3a7183293 Disable inclusion of non-windows in ctrl-tab list. 2020-06-05 19:23:27 +02:00
Bartosz Taudul de357b6193 Update ImGui to docking@5d472c489. 2020-06-05 19:21:07 +02:00
Bartosz Taudul 16b116ee83 Enable horizontal scrollbar in source view. 2020-06-05 19:04:12 +02:00
Thales Sabino a46f83364e Add OpenCL trace support
- Adds the file TracyOpenCL.hpp which contains the API to annotate OpenCL applications
- It works in a similar fashion to the Vulkan annotations
- Adds an example OpenCL application in examples/OpenCLVectorAdd
- Adds "OpenCL Context" to the UI
- Manual entry for annotating OpenCL zones
2020-06-05 10:15:47 +01:00
Bartosz Taudul 6793b34fb5 Update zstd to 1.4.5. 2020-06-04 21:03:27 +02:00
Bartosz Taudul 71d789063e Show only relevant options in asm view. 2020-06-04 19:59:13 +02:00
Bartosz Taudul 3fbc2c8036 Increase buffer size. 2020-06-04 19:54:11 +02:00
Bartosz Taudul e19a981b8c Fix display of unknown source locations in asm view. 2020-06-04 19:39:43 +02:00
Bartosz Taudul ce2e01bcd7 Skip processing uarch data if AT&T mode is enabled. 2020-06-04 19:30:44 +02:00
Bartosz Taudul adc2c12a67 Clear asm data when opening just source view. 2020-06-04 19:20:24 +02:00
Bartosz Taudul 215a58afad Mention dsymutil. 2020-06-04 17:58:48 +02:00
Bartosz Taudul 65314e0c90 Set proper SymbolData contents on symbol retrieval error. 2020-06-04 17:46:39 +02:00
Bartosz Taudul a33caaaaaa Merge pull request #36 from graydon/warning-fixes
Warning fixes
2020-06-04 11:35:59 +02:00
Graydon Hoare 28a29d071f only write SysTime::used if fscanf succeeds 2020-06-03 19:54:49 -07:00
Graydon Hoare 93b7b5a8e7 ensure regs is initialized even if cpuid fails 2020-06-03 19:54:48 -07:00
Bartosz Taudul c52936855e Don't read beyond buffer end. 2020-06-04 02:46:46 +02:00
Bartosz Taudul 917da8cff3 Properly terminate combo table. 2020-06-04 02:41:45 +02:00
Bartosz Taudul 0891245b49 Describe incompatible protocol in the tooltip. 2020-06-04 02:15:21 +02:00
Bartosz Taudul f227bb4d9c Update instruction tables to "may 2020". 2020-06-03 21:17:52 +02:00
Bartosz Taudul 9e500bc897 Handle merging inlined ghost zones. 2020-05-31 21:47:52 +02:00
Bartosz Taudul 994b88f898 Ghost index is only available is statistics are enabled. 2020-05-31 15:24:11 +02:00
Bartosz Taudul 067189c355 Extract ghost zone adding to a separate function. 2020-05-31 14:51:33 +02:00
Bartosz Taudul d9e97ce772 Add postponed ghost zones when frame data becomes available. 2020-05-31 14:31:39 +02:00
Bartosz Taudul 1154343a20 Don't add ghost zones if full callstack data isn't available. 2020-05-31 14:17:54 +02:00
Bartosz Taudul de5f8df9d3 UpdateSampleStatistics() returns if all samples were processed.
This effectively is a check if all frames in a callstack are available.
2020-05-31 14:05:16 +02:00
Bartosz Taudul 940b598cf8 Update manual. 2020-05-30 15:39:35 +02:00
Bartosz Taudul 7ce915c4f6 Allow display of symbol address in statistics view. 2020-05-30 15:39:34 +02:00
Bartosz Taudul 5955efabb0 Use combo box for smart/entry/sample location selection. 2020-05-30 15:39:34 +02:00
Bartosz Taudul 8d149c59f8 Mention the failures of capstone library. 2020-05-30 15:39:34 +02:00
Bartosz Taudul 54eb75b063 Report symbol entry address in inline function discovery. 2020-05-30 15:38:59 +02:00
Bartosz Taudul ff27656533 Backport some fixes from libbacktrace upstream repo. 2020-05-30 14:23:29 +02:00
Bartosz Taudul 71102e3c6d Update NEWS. 2020-05-29 19:01:26 +02:00
Bartosz Taudul 85a10f292b Merge pull request #35 from graydon/localhost-only
Add TRACY_ONLY_LOCALHOST macro to avoid listening on all interfaces.
2020-05-29 11:23:16 +02:00
Graydon Hoare e76b8ae423 Add TRACY_ONLY_LOCALHOST macro to avoid listening on all interfaces. 2020-05-28 22:13:06 -07:00
Bartosz Taudul ce0d8d9fb7 Merge pull request #33 from graydon/minor-fixes
Minor fixes
2020-05-28 21:12:02 +02:00
Graydon Hoare aace9bc76e Add .deps and .dirstamp to .gitignore to allow use as submodule in automake projects. 2020-05-28 11:17:43 -07:00
Graydon Hoare afac7760ce Add Zone{Text,Value,Name}V macros for conditionally-compiled calls to varname.{Text,Value,Name} 2020-05-28 11:17:42 -07:00
Bartosz Taudul 47b8385c5a Merge pull request #32 from jmanc3/support-horizontal-scrolling
Added support for horizontal scrolling.
2020-05-28 12:00:57 +02:00
jmanc3 e22ece8e79 Added support for horizontal scrolling. 2020-05-27 21:11:49 -05:00
Bartosz Taudul 54a029356d Explicitly store GPU context type. 2020-05-27 18:16:53 +02:00
Bartosz Taudul 4f3934ae6a Use correct symbol address. 2020-05-26 02:08:30 +02:00
Bartosz Taudul 898a10ef82 Display base function is symbol as '[ - self - ]'. 2020-05-25 21:42:01 +02:00