Commit Graph

913 Commits

Author SHA1 Message Date
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
Thomas Bernard
79e146c957 Avoid accessing address 0 when reporting a failure. 2022-03-10 14:28:31 +01:00
Bartosz Taudul
df96293477 Create GPU source location zones stats entry, if not present.
In case of CPU statistics data, this entry is created during creation of a
source location. This won't be done for GPU zones, as it would needlessly
expand the number of held entries. This is assuming the number of GPU zones
is significantly less than the number of CPU zones.
2022-01-29 15:45:25 +01:00
Bartosz Taudul
6d55f79109 Save source location data counts. 2022-01-29 15:14:43 +01:00
Bartosz Taudul
ba87929074 Perform GPU statistics reconstruction.
Note: Zone counts are currently being calculated, but they are not being
saved. Proper usage of this data (as is performed in the CPU counterpart)
would remove the possibility of insertion of new entries into the map in
ReconstructZoneStatistics().
2022-01-29 00:48:01 +01:00
Bartosz Taudul
28d029f820 Collection of GPU statistics. 2022-01-29 00:15:33 +01:00
Bartosz Taudul
f9279afaec GPU zone counting. 2022-01-29 00:15:32 +01:00