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

969 Commits

Author SHA1 Message Date
Bartosz Taudul d47122586c Fix color channel names in source location message. 2023-01-23 01:23:15 +01:00
Bartosz Taudul 6652999a60 Fix color channels names in zone color message. 2023-01-23 01:18:54 +01:00
Bartosz Taudul eb7c13e7bb Fix message color component names in the protocol.
Red and blue channels were mislabeled. Otherwise, coding and decoding was
performed correctly, as far as the color channel order described in the manual
is followed by the user.

No change to the binary protocol was made.
2023-01-23 01:07:07 +01:00
Bartosz Taudul c59413ab56 Query jump and call target addresses.
This enables discovery of target function names (and recursively, their
bodies), even if such function has no samples and is not present in any
callstack.
2023-01-22 02:06:43 +01:00
sean b597ab5a0a Fix: Don't let make_unique initialise data unnecessarily 2023-01-03 13:09:26 +01:00
Bartosz Taudul bae7fb3e88 Drop support for 0.7.x traces. 2022-10-28 00:14:06 +02:00
Bartosz Taudul b88ef29792 Make sure source file data is properly tracked. 2022-10-13 19:00:22 +02:00
Bartosz Taudul fc85e46f31 Always fill source code query queue when performing a query.
Previous implementation made these two events separate.
2022-10-13 18:15:04 +02:00
Bartosz Taudul c041b962c0 Construct fake callstack frames for code location data. 2022-10-12 00:27:12 +02:00
Bartosz Taudul 0b84b50d9f Remove locationCodeAddressList map from Worker.
Mapping of source code locations to code addresses is now performed
dynamically during disassembly in SourceView.
2022-10-12 00:13:07 +02:00
Bartosz Taudul 57e039f96c Restore building code symbol map. 2022-10-11 23:04:06 +02:00
Bartosz Taudul 383ecb6a12 Remove CodeLocation query and CodeInformation response. 2022-10-11 22:56:23 +02:00
Bartosz Taudul ac6902501a Get location for address from callstack frame data. 2022-10-11 21:47:28 +02:00
Bartosz Taudul 4d0768ba9d Replace code location queries with callstack frame ones. 2022-10-11 21:40:45 +02:00
Bartosz Taudul dff45f1dc1 Just one compression worker thread on emscripten. 2022-10-02 00:40:43 +02:00
Bartosz Taudul 23ebce2862 Implement checking if frames are in use. 2022-09-05 20:12:12 +02:00
jkriegshauser 59ae71df2b Import frame messages (#459)
Co-authored-by: Joshua Kriegshauser <joshuakr@nvidia.com>
Co-authored-by: Bartosz Taudul <wolf@nereid.pl>
2022-09-02 19:44:37 +02:00
Bartosz Taudul 8b75a3fab0 Fix callstackPayload overflow when data to read size was POT. 2022-09-02 18:52:32 +02:00
Bartosz Taudul 2f44f65e02 Don't copy short_ptr. 2022-09-02 18:47:13 +02:00
Bartosz Taudul be392a76fb Move TracyVersion.hpp to common. 2022-08-27 16:05:36 +02:00
Bartosz Taudul e8aaf5fa99 Run source file query on payloaded source locations. 2022-08-17 16:04:20 +02:00
Bartosz Taudul d5a46f97c1 Release MemData. 2022-08-14 11:37:24 +02:00
Bartosz Taudul 259672abc6 Use proper type in StringKey initialization. 2022-08-08 18:47:11 +02:00
Bartosz Taudul 5a36782c83 Fix inline functions not being attributed to symbols.
Regression was introduced in commit 18112d3c6.
2022-07-31 12:38:24 +02:00
Bartosz Taudul 8b4385498d Process Vsync frame messages.
Version bump is required due to frame set name pointer hack.
2022-07-30 19:51:29 +02:00
Jiangping Xu ad7c2cf5d8 fix tracy worker threads conflict 2022-07-27 11:44:19 -07:00
Bartosz Taudul b026e09a09 Include custom color in plot configuration. 2022-07-24 13:42:25 +02:00
Bartosz Taudul b2a94cbfa2 Set plot fill using configuration message. 2022-07-24 13:10:20 +02:00
Bartosz Taudul dceb2399ee Set plot staircase using plot configuration message. 2022-07-24 13:09:45 +02:00
Bartosz Taudul 810f1573ac Use separate messages for transfer of different plot value types. 2022-07-24 13:00:36 +02:00
Bartosz Taudul aeedf7de2d Save/load plot steps parameter. 2022-07-24 12:42:39 +02:00
Bartosz Taudul 16627d7313 Plots may now be drawn as staircases. 2022-07-24 12:37:30 +02:00
Bartosz Taudul 4d40a9cb53 Track locking thread on server side. 2022-07-18 02:06:19 +02:00
Bartosz Taudul 06c7984a16 Move all client headers and sources to public/ directory. 2022-07-17 15:47:38 +02:00
Bartosz Taudul 68de009e0e Extract common reference time processing to a function. 2022-06-22 01:56:31 +02:00
Bartosz Taudul 183cbf12a0 Subtract base time directly in TscTime(). 2022-06-22 01:56:31 +02:00
Bartosz Taudul 331f18345f Add braces around initialization of subobjects. 2022-06-16 15:29:39 +02:00
Bartosz Taudul 579339dd24 Retrieve correct symbol address. 2022-05-02 01:12:35 +02:00
Bartosz Taudul aa2bbfe5f9 Transfer executable image name in source file queries. 2022-05-01 14:30:18 +02:00
Bartosz Taudul fd55c1e975 Pass symbol image name to CacheSource(). 2022-05-01 14:25:07 +02:00
Bartosz Taudul 95cf143336 Remove unused variables. 2022-04-26 22:01:09 +02:00
Bartosz Taudul c9240c100d Fix initialization order. 2022-04-26 22:01:09 +02:00
Bartosz Taudul 18112d3c66 Drop support for pre-0.7 traces. 2022-04-18 13:59:48 +02:00
Bartosz Taudul 95187c94e9 Bump protocol to simplify IsQueryPrio(). 2022-04-18 13:39:49 +02:00
Bartosz Taudul 381f706796 Remember if there is branch retirement data. 2022-04-01 18:46:46 +02:00
Bartosz Taudul 2b47c2a64e Send priority queries before other queued up queries.
This ensures that simple to handle yet important queries are answered in a
timely manner. Previously an onslaught of slow symbol-related queries could
block e.g. zone name resolving for a couple of minutes.
2022-03-31 00:06:49 +02:00
Bartosz Taudul 5ae9e791a5 Make easy check first. 2022-03-31 00:06:49 +02:00
Bartosz Taudul d691cb2a06 Define a list of priority queries. 2022-03-31 00:02:02 +02:00
Bartosz Taudul a335efe9e6 Implement scanning for source files missing in cache. 2022-03-30 16:07:15 +02:00
Bartosz Taudul e086488928 Extract source file caching functionality. 2022-03-30 16:06:35 +02:00