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

5618 Commits

Author SHA1 Message Date
Bartosz Taudul 0bbda5ea11 Pressing Z will temporarily switch child calls. 2021-04-20 18:19:00 +02:00
Bartosz Taudul e189f596ac Add no-statistics guards. 2021-04-18 22:59:10 +02:00
Bartosz Taudul cbf8550a45 Update NEWS. 2021-04-18 22:46:10 +02:00
Bartosz Taudul d234f4dbe4 Generate child sample data during capture. 2021-04-18 22:44:37 +02:00
Bartosz Taudul fb872fa088 Add child samples to source view percentages. 2021-04-18 22:23:55 +02:00
Bartosz Taudul cba72859e9 No parents if only child samples. 2021-04-18 22:00:49 +02:00
Bartosz Taudul 141a4bc0fe Fix scroll bar display of child-only samples. 2021-04-18 22:00:49 +02:00
Bartosz Taudul c7da9b1092 Fix rendering of lines with no local samples. 2021-04-18 22:00:49 +02:00
Bartosz Taudul 66ef71cf7b Gather child IP stats for addresses without samples. 2021-04-18 22:00:49 +02:00
Bartosz Taudul ef93c69ee9 Make child calls more discoverable. 2021-04-18 22:00:48 +02:00
Bartosz Taudul 2009f63e32 Group time/samples data by local and child. 2021-04-18 20:43:23 +02:00
Bartosz Taudul a5afa2cb4e Use correct address for child sample information. 2021-04-18 20:43:23 +02:00
Bartosz Taudul 4970c48c51 Don't shadow variables. 2021-04-18 20:43:23 +02:00
Bartosz Taudul c859d655ad Include child calls in asm view percentages. 2021-04-18 20:43:22 +02:00
Bartosz Taudul 50a1faa880 Don't print zero sample counts in tooltips. 2021-04-18 20:16:05 +02:00
Bartosz Taudul 5f97c484f1 Include child samples in symbol view file list. 2021-04-18 19:42:24 +02:00
Bartosz Taudul 046881e32f Add AddrStat::operator+=( AddrStat ). 2021-04-18 19:40:43 +02:00
Bartosz Taudul 22a8c53e8b Account for case with no local samples (external only). 2021-04-18 19:21:53 +02:00
Bartosz Taudul b217e00dd9 Hackfix support for UTF-8 in source files. 2021-04-18 19:14:12 +02:00
Bartosz Taudul 526d0cd22a Display child time and samples in symbol stats. 2021-04-18 19:10:39 +02:00
Bartosz Taudul c5eb398319 Gather external IP stats (no range limit case). 2021-04-18 19:04:29 +02:00
Bartosz Taudul 8db9bcf7f8 Disable child calls checkbox while processing data. 2021-04-18 18:27:39 +02:00
Bartosz Taudul 0d8ee47231 Store instruction pointer stats as AddrStat. 2021-04-18 16:16:47 +02:00
Bartosz Taudul 3845c392fa Cosmetics. 2021-04-18 15:52:42 +02:00
Bartosz Taudul 55efa64b3f Do not copy instruction pointer maps. 2021-04-18 15:51:50 +02:00
Bartosz Taudul 32e3c0ebb1 Display child sample counts in info window. 2021-04-18 15:06:54 +02:00
Bartosz Taudul 34b80ac52f Add child samples count getters. 2021-04-18 15:03:42 +02:00
Bartosz Taudul 2f6adf3641 Add child calls UI. 2021-04-18 15:00:19 +02:00
Bartosz Taudul ffe8aebfbd Extend address stats to include child samples. 2021-04-18 15:00:19 +02:00
Bartosz Taudul df462f109d Reconstruct child sample data. 2021-04-18 15:00:19 +02:00
Bartosz Taudul 4dc6222ba1 Add child samples data structure. 2021-04-18 14:42:35 +02:00
Bartosz Taudul fa8c99fd74 Fix missing limit range checkbox in source view.
This could happen if range was limited in such a way, that no sample was
within the region.
2021-04-18 14:42:35 +02:00
Bartosz Taudul 0476e851ff Force inline LZ4_NbCommonBytes(). 2021-04-18 14:42:35 +02:00
Bartosz Taudul aee39d3fcd Disable collapsing of connection window. 2021-04-18 14:42:31 +02:00
Bartosz Taudul d71d76414b Allow setting NO_PARALLEL_SORT externally. 2021-04-15 19:55:50 +02:00
Bartosz Taudul 207a48e986 Merge pull request #197 from jwdevel/use-rpmalloc-in-ProfilerThreadDataKey
Use tracy_malloc rather than 'new' in ProfilerThreadDataKey
2021-04-12 19:35:24 +02:00
JW 915693ac39 Use tracy_malloc rather than 'new' in ProfilerThreadDataKey
This codepath, involving a workaround for GCC < 8.4, called 'new' and
'delete' directly, which could cause infinite recursion when
user-provided versions of those functions were themselves using Tracy
functionality.

Now, this codepath uses Tracy's internal allocator.

See issues #194, #196
2021-04-12 10:06:35 -07:00
Bartosz Taudul 40efbe8529 Use rpmalloc for initialization-related allocations. 2021-04-10 13:02:32 +02:00
Bartosz Taudul 2bb5d126fd rpmalloc_thread_initialize is called in RPMallocInit. 2021-04-10 12:55:00 +02:00
Bartosz Taudul efc12c2032 Merge pull request #195 from jkriegshauser/windows-getenv-fix
Windows getenv fix
2021-04-10 12:27:57 +02:00
joshuakr fa942d18fe Fix spacing 2021-04-09 15:35:44 -07:00
joshuakr e845c23493 Removed duplicate function 2021-04-09 15:35:07 -07:00
joshuakr 3fad55d7bc Missed one 2021-04-09 15:34:21 -07:00
joshuakr eac23cead2 PR feedback 2021-04-09 15:33:01 -07:00
Eric van Beurden fc142b4f9c fixed a build break on AARCH64. 2021-04-09 13:50:35 -07:00
Eric van Beurden 00ac6d1d8e worked around Windows broken getenv() call. 2021-04-09 13:50:02 -07:00
Bartosz Taudul 7e33165c40 Merge pull request #194 from jkriegshauser/centos7-shutdown-crash
Fix centos shutdown crash
2021-04-09 21:15:18 +02:00
Joshua Kriegshauser 76a02205f3 Fix centos shutdown crash 2021-04-09 11:58:34 -07: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 69300ef6ec Welcome window shouldn't be collapsible. 2021-04-08 01:35:58 +02:00