Bartosz Taudul
|
089eda0be9
|
Precise_ip should be shared in each pair of counters.
|
2021-05-22 02:16:49 +02:00 |
|
Bartosz Taudul
|
8ec08465ee
|
Add debug messages to perf event setup.
|
2021-05-21 01:47:45 +02:00 |
|
Bartosz Taudul
|
4d668741eb
|
Probe for acceptable precise_ip value.
This is stupid, but it's exactly what perf does... Sigh.
|
2021-05-21 01:33:37 +02:00 |
|
Bartosz Taudul
|
bcb7b94272
|
Tid is not needed.
|
2021-05-20 02:39:22 +02:00 |
|
Bartosz Taudul
|
f0f3babacf
|
Set correct message types.
|
2021-05-20 02:27:36 +02:00 |
|
Bartosz Taudul
|
5f3d1c0faf
|
Sample cache and branch stats.
|
2021-05-20 02:15:23 +02:00 |
|
Bartosz Taudul
|
faf87809d7
|
Reduce hw sampling rate.
|
2021-05-20 01:48:52 +02:00 |
|
Bartosz Taudul
|
741de5c8fb
|
Allow disabling cycle/retirement sampling.
|
2021-05-19 23:38:32 +02:00 |
|
Bartosz Taudul
|
2e38e70049
|
Reduce hardware sampling perdiod. Don't sample time.
|
2021-05-19 23:21:21 +02:00 |
|
Bartosz Taudul
|
101cdd9b4b
|
Don't send thread id for hw samples.
|
2021-05-19 22:52:13 +02:00 |
|
Bartosz Taudul
|
7794443453
|
Collect CPU cycles and instruction retirement events.
|
2021-05-19 21:09:55 +02:00 |
|
Bartosz Taudul
|
16101571e0
|
Close perf_event file descriptor on exec.
|
2021-05-19 21:09:55 +02:00 |
|
Bartosz Taudul
|
9cd1b26bc7
|
Keep count of ring buffers separate from number of CPUs.
|
2021-05-19 21:09:55 +02:00 |
|
Bartosz Taudul
|
b7d52d2eab
|
Store RingBuffer identifier.
|
2021-05-19 21:09:52 +02:00 |
|
Bartosz Taudul
|
42a272edf5
|
Allow control of sampling frequency.
|
2021-05-11 18:31:20 +02:00 |
|
Bartosz Taudul
|
a6c6943a6c
|
Check if GetThreadDescription() is supported.
This functionality is available since Win 10 1607.
|
2021-05-04 16:13:42 +02:00 |
|
Bartosz Taudul
|
56f0bdd571
|
ARM doesn't follow x64 canonical address requirements.
|
2021-04-29 18:24:37 +02:00 |
|
Bartosz Taudul
|
505656df5a
|
Trace frame count may be zero.
|
2021-04-29 18:24:37 +02:00 |
|
Bartosz Taudul
|
1a1df0229d
|
Add missing include.
|
2020-12-26 14:48:31 +01:00 |
|
Bartosz Taudul
|
dab68b2f21
|
Manually initialize GUID structs.
|
2020-12-21 16:13:59 +01:00 |
|
Bartosz Taudul
|
063ad1f1d3
|
Check return value of EnableTraceEx2().
|
2020-12-21 15:41:01 +01:00 |
|
bjacob
|
dfdf70aea3
|
Fix shutdown with TRACY_NO_EXIT=1 on Android. (#134)
|
2020-11-26 20:33:54 +01:00 |
|
Bartosz Taudul
|
119e357dbf
|
Improve parsing of kernel tracing data.
|
2020-11-19 11:37:05 +01:00 |
|
bjacob
|
3fe4e7c3a7
|
Fix sampling on Android with default su command. (#123)
|
2020-11-17 21:11:48 +01:00 |
|
Bartosz Taudul
|
e920b5cf64
|
Allow disabling call stack sampling.
Only on Windows for now.
|
2020-11-05 23:59:52 +01:00 |
|
Bartosz Taudul
|
4caaa325c2
|
Allow disabling context switch tracing.
Currently only on Windows.
|
2020-11-05 23:56:19 +01:00 |
|
Bartosz Taudul
|
a34abe646c
|
Allow disabling vsync capture.
|
2020-11-05 23:44:28 +01:00 |
|
Bartosz Taudul
|
d75503047c
|
Test whole call stack for non-canonical pointers.
|
2020-10-06 18:27:14 +02:00 |
|
Bartosz Taudul
|
fc1b03d67d
|
Remove non-canonical pointer at the end of sampled stack.
|
2020-10-02 22:14:33 +02:00 |
|
Bartosz Taudul
|
24c834bf8c
|
Don't set sample_max_stack with kernel headers < 4.8.
|
2020-09-15 17:38:35 +02:00 |
|
Bartosz Taudul
|
4dae36cb73
|
Don't use EVENT_FILTER_EVENT_ID, etc with SDK < Win 8.1.
|
2020-09-06 14:02:18 +02:00 |
|
Bartosz Taudul
|
9e51e3fa85
|
Remove unused variable.
|
2020-09-06 14:02:12 +02:00 |
|
Bartosz Taudul
|
411ca81786
|
Don't operate on reference.
|
2020-08-18 21:36:09 +02:00 |
|
Bartosz Taudul
|
9ba7381030
|
Small speedup for ReadNumber().
|
2020-08-18 20:07:15 +02:00 |
|
Bartosz Taudul
|
4d4b6c7ac9
|
Use memchr() to find newline in memory block.
|
2020-08-18 19:51:02 +02:00 |
|
Bartosz Taudul
|
28aae73f74
|
RingBuffer has const size, so use template.
This eliminates division.
|
2020-08-15 02:43:18 +02:00 |
|
Bartosz Taudul
|
16ad6ee2ac
|
Tune number of ETW kernel buffers.
|
2020-08-13 15:26:36 +02:00 |
|
Bartosz Taudul
|
9258e2ced0
|
Restore TSC usage on Linux.
|
2020-08-13 01:41:05 +02:00 |
|
Bartosz Taudul
|
98fe63b5eb
|
Increase sampling frequency to 10 kHz.
Works fine on bare metal.
|
2020-08-12 22:18:59 +02:00 |
|
Bartosz Taudul
|
f7574c5adc
|
Reduce ring buffer size to workaround sigbus on android.
|
2020-08-12 18:46:19 +02:00 |
|
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
|
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
|
f07eebebf7
|
ETW threads are time critical.
|
2020-08-05 15:34:39 +02:00 |
|
Bartosz Taudul
|
062bb3044f
|
No need for lean callstack sample message.
|
2020-07-26 14:28:13 +02:00 |
|
Bartosz Taudul
|
5d748f3568
|
Don't calculate known strings length.
|
2020-07-21 20:58:58 +02:00 |
|
Andrey Voroshilov
|
175ec3e3d8
|
Moving ThreadExitHandler to a commonly accessible space, adding thread handler usage to SysTrace worker threads
|
2020-07-18 18:24:49 -07:00 |
|
Bartosz Taudul
|
0da6342a86
|
Trace vsyncs.
|
2020-06-27 19:56:23 +02:00 |
|