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

5091 Commits

Author SHA1 Message Date
Bartosz Taudul 649994706b Use clock monotonic raw on Linux.
Because Linux kernel interfaces are fucking stupid.
2020-08-12 16:49:30 +02:00
Bartosz Taudul d48b3187b1 Call stack sampling using perf events. 2020-08-12 16:49:30 +02:00
Bartosz Taudul c16200ac02 Add ring buffer for perf events. 2020-08-12 14:06:19 +02:00
Bartosz Taudul 90ed18222a Use proper allocator. 2020-08-12 01:30:22 +02:00
Bartosz Taudul b1b7be0a46 Adjust kernel tracing threads priorities. 2020-08-12 01:27:59 +02:00
Bartosz Taudul 1f4bfb68a0 Increase Linux sys trace per-cpu buffer size to 4 MB. 2020-08-12 01:19:10 +02:00
Bartosz Taudul 6db581ff4e Suppress warning. 2020-08-11 23:25:23 +02:00
Bartosz Taudul 9455c92712 Handle broken inet_ntop on old Windows SDKs. 2020-08-11 22:37:46 +02:00
Bartosz Taudul ea9475dfdf Add Tracy's name to window title. 2020-08-11 21:07:28 +02:00
Bartosz Taudul 0aa77c9176 Update manual. 2020-08-11 21:07:28 +02:00
Bartosz Taudul 8cfc614047 Include time range limits in symbol view functions list. 2020-08-11 21:07:23 +02:00
Bartosz Taudul 46163a1989 Implement asm ip stats counter. 2020-08-11 21:07:23 +02:00
Bartosz Taudul 7aa8e408df Remove unused variable. 2020-08-11 16:02:07 +02:00
Bartosz Taudul 5974d00ccf Update manual. 2020-08-11 15:53:58 +02:00
Bartosz Taudul 34fa99c7ee Restrict sample statistics percentages to time range limit. 2020-08-11 15:50:54 +02:00
Bartosz Taudul b9a810827d Make instrumented statistics percentages relative to time range. 2020-08-11 15:38:55 +02:00
Bartosz Taudul 5559cb0fde Update manual. 2020-08-11 13:49:46 +02:00
Bartosz Taudul 6d98740b39 Update manual. 2020-08-10 19:17:16 +02:00
Bartosz Taudul e9255e5a0b Update NEWS. 2020-08-10 19:04:02 +02:00
Bartosz Taudul 6feb017cbe Also display statistics time range if symbol view is open. 2020-08-10 19:03:32 +02:00
Bartosz Taudul b9b39f1957 Allow checking if source view is symbol view. 2020-08-10 19:03:23 +02:00
Bartosz Taudul 5dd7c7e402 Add time range limiting to symbol view. 2020-08-10 18:58:33 +02:00
Bartosz Taudul 7a4ecc5417 Store instruction pointers in per-symbol sample data. 2020-08-10 14:52:51 +02:00
Bartosz Taudul 85f54499fe Add range limit UI to symbol view. 2020-08-10 12:11:07 +02:00
Bartosz Taudul 900fbe5df8 Merge pull request #85 from kaiscode/fix-import
Fix timestamp calculation in chrome tracing importer
2020-08-10 12:05:03 +02:00
Bartosz Taudul 339ed7cc4d Fix tooltip stroboscope. 2020-08-09 21:40:06 +02:00
Bartosz Taudul 06ac6f4f24 Build per-symbol samples list during live capture. 2020-08-09 21:04:03 +02:00
Bartosz Taudul 3be0a3f628 Vector is not empty here. 2020-08-09 20:46:44 +02:00
Bartosz Taudul 1650d371e6 Actually set self time option, if required. 2020-08-07 19:43:31 +02:00
Bartosz Taudul d6aa814de5 Use time limited data for inline stats. 2020-08-07 19:42:18 +02:00
Bartosz Taudul d151aff237 Allow time limiting sampled call stacks statistics. 2020-08-07 19:26:19 +02:00
Bartosz Taudul b418c98e63 Add symbol samples accessor. 2020-08-07 19:14:21 +02:00
Bartosz Taudul aa8b60a824 Calculate per-symbol sample time list.
This is for loaded traces. Real time capture will be implemented later.
2020-08-07 19:05:27 +02:00
Bartosz Taudul 87e7cba289 Disable samples limit range until background job is done. 2020-08-07 14:54:00 +02:00
Bartosz Taudul 54651f9f6d Merge pull request #86 from simonvanbernem/master
Making find- and stat-zones stripes interleave always by changing DrawStripedRect
2020-08-07 13:21:29 +02:00
Simon van Bernem d06617b2a5 Fixed variable name 2020-08-07 10:55:00 +02:00
Simon van Bernem 4e1ed15237 More matching code-style 2020-08-07 10:45:52 +02:00
Simon van Bernem ab85fba7e0 Matching the braketing style 2020-08-07 10:42:36 +02:00
Simon van Bernem 903b7badc0 next try 2020-08-07 10:39:22 +02:00
Simon van Bernem e14bb56db1 matching spacing to remove change from original 2020-08-07 10:38:38 +02:00
Simon van Bernem b826c14e4d reverted an unnecessary change 2020-08-07 10:37:19 +02:00
Simon van Bernem 3dd80c5288 DrawStripedRect can now draw screen-space stripes
Added two parameters to DrawStripedRect: fix_stripes_in_screen_space aligns the stripes to screen space. This leads to the stripes of any stripe rect being drawn aligning. Also added inverted, which flips the empty and filled part of the striped rect. This is used to make statRange and findZone stripes interleave, when they overlap.
2020-08-07 10:24:13 +02:00
Kais 83bc1466cf Fix timestamp calculation in chrome tracing importer 2020-08-06 19:42:03 -07:00
Bartosz Taudul 550e05d149 Fix time range limits created by reverse-mouse-drag. 2020-08-07 00:24:22 +02:00
Bartosz Taudul e18e9411f3 Update manual. 2020-08-06 18:47:59 +02:00
Bartosz Taudul d002841fb8 Update NEWS. 2020-08-06 17:27:09 +02:00
Bartosz Taudul 983aba7a0b Self time is forced for range limit in sampling stats. 2020-08-06 17:22:47 +02:00
Bartosz Taudul 0a0d04fff6 Add time range limits to instrumentation statistics. 2020-08-06 15:22:10 +02:00
Bartosz Taudul b68423fc1a Fix copy pasta. 2020-08-06 15:22:10 +02:00
Bartosz Taudul 71440cc6ee Use custom data structure for temporary stats data. 2020-08-06 15:22:10 +02:00