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

3181 Commits

Author SHA1 Message Date
Bartosz Taudul d71d76414b Allow setting NO_PARALLEL_SORT externally. 2021-04-15 19:55:50 +02:00
Bartosz Taudul 07996c16cf Fix gcc 8.3 with LTO.
In member function ‘UpdateSampleStatisticsImpl’:
warning: argument 1 value ‘18446744073709551598’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
         auto cfdata = (CallstackFrame*)alloca( ( fxsz-1 ) * sizeof( CallstackFrame ) );
                                        ^
2021-04-09 01:15:18 +02:00
Bartosz Taudul 2477f33a6d Update robin-hood-hashing to 3.11.1. 2021-04-08 01:07:56 +02:00
Bartosz Taudul 592644ae43 Don't issue warning if only disconnect is in send queue. 2021-04-01 20:16:47 +02:00
Bartosz Taudul 9b7f759347 Allow checking if disconnect was requested. 2021-04-01 20:16:29 +02:00
Bartosz Taudul 450013bc27 Update to current uops.info xml file.
This updates ZEN3 and adds Tiger Lake.
2021-04-01 18:46:00 +02:00
Bartosz Taudul da29ec975b Release 0.7.7. 2021-04-01 18:15:07 +02:00
Bartosz Taudul 8ddf26fff2 Simplify code. 2021-03-27 15:24:42 +01:00
Bartosz Taudul 4c4fc7197c Add source preview to entry call stacks window. 2021-03-27 14:15:18 +01:00
Bartosz Taudul 9bbffcb67f Add source tooltip in memory frame trees. 2021-03-27 14:09:40 +01:00
Bartosz Taudul 5ebffe388a Check for file name pointer validity. 2021-03-27 14:09:35 +01:00
Bartosz Taudul ff6ecef5f3 Add source preview to statistics window. 2021-03-27 14:02:52 +01:00
Bartosz Taudul 62ac5544b6 Trim empty lines at top and bottom of source preview. 2021-03-27 13:55:22 +01:00
Bartosz Taudul a15ba0c7fb Show source preview tooltip in find zones. 2021-03-27 13:47:20 +01:00
Bartosz Taudul 895a63b41a Add source preview to call stack window. 2021-03-27 13:43:12 +01:00
Bartosz Taudul e2be45c0ba Show preview of lock source locations in options window. 2021-03-27 13:43:12 +01:00
Bartosz Taudul 8f0c5e867e Source tooltip implementation. 2021-03-27 13:43:11 +01:00
Bartosz Taudul 0b6e55ee87 Store fixed-width font in View. 2021-03-27 13:43:11 +01:00
Bartosz Taudul d56f7dab09 Remove unneeded forward declarations. 2021-03-27 13:05:59 +01:00
Bartosz Taudul 1cb6c17991 Move syntax color tables to a common header. 2021-03-27 13:03:19 +01:00
Bartosz Taudul ff5435ff67 Cosmetics. 2021-03-27 13:03:19 +01:00
Bartosz Taudul 0b5a923e91 Display preview of source code for assembly instructions. 2021-03-26 02:42:15 +01:00
Bartosz Taudul bd4335bace Move source file parsing logic to a separate file. 2021-03-26 02:42:14 +01:00
Bartosz Taudul 174bb4d2f1 Extract source code tokenizer to a separate file. 2021-03-26 01:53:49 +01:00
Bartosz Taudul b80899863b Consistently use "entry call stacks". 2021-03-26 00:40:54 +01:00
Bartosz Taudul 2fe1fb974a Display number of entry call stacks in a tooltip. 2021-03-26 00:27:23 +01:00
Bartosz Taudul 514acf1bac Don't copy stats. 2021-03-26 00:21:19 +01:00
Bartosz Taudul 29133431bc Calculate symbol address for parents earlier.
While currently this makes no sense, it will be also used in common code
path.
2021-03-26 00:17:46 +01:00
Bartosz Taudul ec16182887 Only pack pointer if needed. 2021-03-26 00:14:12 +01:00
Stone Tickle 1918c0ffe6 fix TRACY_NO_FILESELECTOR macro 2021-03-17 08:51:24 +09:00
Bartosz Taudul 8dd92f32af Handle memory double allocation failure. 2021-03-09 22:19:42 +01:00
Bartosz Taudul 6d5710901c Fix ZoneColor channel order. 2021-03-09 02:14:57 +01:00
Bartosz Taudul b51e3fbbc8 Remove unneeded variable. 2021-02-07 21:08:52 +01:00
Bartosz Taudul 9b5cc3352a Fast search for zone tid in GetZoneThreadData(). 2021-02-07 20:27:33 +01:00
Bartosz Taudul c6c9fec383 Faster search for tid of zone in GetZoneParent(). 2021-02-07 20:27:33 +01:00
Bartosz Taudul 35267abc8e Remove obsolete GetZoneDepth() method. 2021-02-07 19:58:23 +01:00
Bartosz Taudul 02451fecd7 Remove not needed methods from SortedVector. 2021-02-07 19:36:45 +01:00
Bartosz Taudul 18e893752b Use SortedVector for source location zones. 2021-02-07 19:35:53 +01:00
Bartosz Taudul 0100d0beb4 SortedVector has to provide reserve(). 2021-02-07 19:35:23 +01:00
Bartosz Taudul c220177828 Do postponed work only when needed. 2021-02-07 18:29:29 +01:00
Bartosz Taudul 9bb1d13afa Revert to non-shared mutex for data lock.
The main change here is that the UI will be unresponsive when a trace is being
saved when there's no capture being performed. Note that the UI was always
frozen during saving if the capture was live, due to how starvation is
prevented by the locks.
2021-02-07 18:11:36 +01:00
Bartosz Taudul 417d526581 Use SortedVector for plot data. 2021-02-07 15:52:08 +01:00
Bartosz Taudul 90c873421c Implement main sorting functionality in SortedVector. 2021-02-07 15:50:27 +01:00
Bartosz Taudul e2db68e5f0 Comment out unneeded (for now) methods in SortedVector. 2021-02-07 15:49:16 +01:00
Bartosz Taudul dcd76fc369 Add pass-through sorted vector wrapper. 2021-02-07 14:43:05 +01:00
Bartosz Taudul 3400331de1 Check source file validity against executable time. 2021-02-06 22:59:07 +01:00
Bartosz Taudul ad2062fb40 Last-resort source code transfer from client to server. 2021-02-04 00:45:00 +01:00
Bartosz Taudul f97223e394 Rename ParamPingback to more generic AckServerQueryNoop. 2021-02-04 00:03:58 +01:00
Bartosz Taudul 53505373c7 Always show full symbol name in ghost zone popups. 2021-01-31 20:49:49 +01:00
Bartosz Taudul ab4d7259ea Display GPU context name in options menu. 2021-01-31 19:15:23 +01:00