Commit Graph

8236 Commits

Author SHA1 Message Date
Tiago Rodrigues
24b6c649d3 fix typo 2023-12-06 12:32:37 -05:00
trodrigues
b835d73590 Add support for libbacktrace to detect new elfs have been dynamically loaded after backtrace_initialize() has been called, and consider them for symbol resolution 2023-12-05 20:09:11 -06:00
trodrigues
55f53b9979 remove option to enable image cache, use it for TRACY_HAS_CALLSTACK == 3 to obtain image path and addreses instead of dladdr() 2023-12-05 20:01:12 -06:00
trodrigues
a618b6e6f8 simplify return from tracy::FastVector iterator 2023-12-03 08:36:54 -06:00
Tiago Rodrigues
a9d039e081 move under the tracy namespace, remove commented out code 2023-12-03 09:23:03 -05:00
Tiago Rodrigues
132419dba3 Add image cache to avoid calling dladdr() when doing offline symbol resolution. This cache can also be used in the runtime symbol resolution case to detect we should recreate "backtrace_state" when new images have been loaded 2023-11-29 13:23:58 -05:00
Bartosz Taudul
af73dba73e
Merge pull request #665 from tiago-rodrigues/trodrigues/offline_symbol_resolve
Add support for offline callstack symbol resolving
2023-11-27 16:53:22 +01:00
Tiago Rodrigues
2509a4b962 update documentation to reflect that symbol statistics are broken when using offline symbol resolving 2023-11-27 10:22:12 -05:00
Bartosz Taudul
87f3d20a9e
Merge pull request #673 from AMS21/patch-1
Fix typo `enfore` -> `enforce`
2023-11-26 12:52:33 +01:00
AMS21
d2325e49e7
Fix typo enfore -> enforce 2023-11-26 11:51:05 +00:00
Bartosz Taudul
bed5f9b16e
Make the manual two-sided. 2023-11-25 15:58:25 +01:00
Tiago Rodrigues
69b9707bc5 update github workflows to remore tracy-edit 2023-11-25 09:19:13 -05:00
Tiago Rodrigues
de6e7d2fc3 move the symbol resolving functionality to the update application instead of creating a new one 2023-11-24 20:48:39 -05:00
Tiago Rodrigues
a1ca8dd06a fixes according to review comments 2023-11-24 16:32:45 -05:00
Tiago Rodrigues
e5e84424f6 update cmake option description 2023-11-24 16:24:45 -05:00
Grégoire Roussel
116e82de9e
[doc] Add small section for docker on Ubuntu (#668) 2023-11-20 18:58:01 +01:00
Ivan Molodetskikh
ad39a01de1
Don't error on frame end without start (#666)
With on-demand profiling we're very likely to connect in the middle of a
discontinuous frame and thus receive a frame end without any preceding
frame start. So don't error out in this case.
2023-11-19 19:09:58 +01:00
trodrigues
6c0bb0a56a add mising cstdint include that was saucing compilation failure in the linux github workflow (but not locally, likely due to diff compiler) 2023-11-19 06:50:56 -08:00
trodrigues
e04e595eec update linux github workflow after rebase 2023-11-19 06:36:42 -08:00
trodrigues
301c9fb720 revert #ifdef of a lot of code by TRACY_SYMBOL_OFFLINE_RESOLVE, it now only force enables the offline symbol resolving codepath. 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
79618c5a1a Add support for using defining TRACY_SYMBOL_OFFLINE_RESOLVE to enable only the offline symbol resolving codepath 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
b3f68801bb fix linux compilation 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
5c0513931a - Fix formatting
- delete CreateResolver/DestroySymbolResolver
2023-11-19 06:32:17 -08:00
Tiago Rodrigues
687d681764 Instead of adding new method, make StoreString public 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
c302b509fe fix formatting 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
3fdd1e1863 fix typo 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
0491cad49a Add support for symbol path replacement using regex in tracy-edit 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
fe0e5f3358 Add some basic documentation for offline symbols 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
94e7da11ec use pkg-config to get libcapstone config 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
a887d558f1 enable addr2line symbol resolver in all platforms except windows 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
5c3e303f6f add tracy-edit debug compilation workflow 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
a24fec91bd try to add tracy-edit to github workflows 2023-11-19 06:32:17 -08:00
Tiago Rodrigues
f4f75eac64 Add support for offline symbol resolving by setting the "TRACY_SYMBOL_OFFLINE_RESOLVE=1" env var
- Add a tool "tracy-edit" that allows loading a tracy capture, patching symbols and recompress the result
- Add offline symbol resolvers for linux (using addr2line) and windows (using dbghelper)
2023-11-19 06:32:16 -08:00
Bartosz Taudul
906f73cab3
Switch CI to build on archlinux image. 2023-11-19 14:24:44 +01:00
Bartosz Taudul
7c6e093213
Merge pull request #656 from apache-hb/master
respect mesons default_library option
2023-11-18 15:29:08 +01:00
Elliot
9ccf02a4c8 use bool deprecation flag rather than string 2023-11-17 15:42:57 -05:00
Elliot
67b454286f fix deprecation tag in option and reverse warning check 2023-11-15 13:02:05 -05:00
Bartosz Taudul
cf1e91b853
Bump ImGui to 1.90 + docking. 2023-11-15 18:47:54 +01:00
Bartosz Taudul
aa5cc655a9
Merge pull request #661 from moritz-h/imgui-include
Prefer internal imgui
2023-11-15 15:43:24 +01:00
Moritz Heinemann
69b82903cd Prefer internal imgui 2023-11-15 14:41:45 +01:00
Bartosz Taudul
c79f6128bc
Merge pull request #660 from sistr22/patch-android-compilation
Fix compilation on 32 bit android
2023-11-15 12:35:44 +01:00
Damien Mabin
37f886dba4
Fix compilation on 32 bit android 2023-11-15 13:28:37 +02:00
Elliot
a3774039f6 warn when tracy_shared_libs and default_library mismatch 2023-11-13 15:56:17 -05:00
Elliot
9342df020d mark the tracy_shared_libs as deprecated 2023-11-13 15:56:06 -05:00
Bartosz Taudul
2f2f9939db
Merge pull request #657 from tiago-rodrigues/trodrigues/tracy_libunwind
Add support for using using libunwind
2023-11-13 20:19:06 +01:00
Tiago Rodrigues
c373647dae fix coding style 2023-11-13 13:43:03 -05:00
Tiago Rodrigues
5f60ac7ad2 update docs 2023-11-13 13:42:30 -05:00
Tiago Rodrigues
0339ed3c9c Merge branch 'trodrigues/tracy_libunwind' of https://github.com/tiago-rodrigues/tracy into trodrigues/tracy_libunwind 2023-11-13 12:58:21 -05:00
Tiago Rodrigues
e4b5395ae8 Update documentation with new compile time and env variables added. 2023-11-13 12:57:34 -05:00
Elliot
b95fb270cb
Update meson.build
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2023-11-11 23:17:20 -05:00