Bartosz Taudul
|
deb59b4c38
|
Somehow fix event ordering.
|
2019-08-24 01:43:55 +02:00 |
|
Bartosz Taudul
|
1e74a89924
|
Check if there's data to read from kernel.
Reading from kernel pipe, while being a blocking operation, spin locks the
thread.
|
2019-08-24 01:06:21 +02:00 |
|
Bartosz Taudul
|
8f6e94d75c
|
Sleep if sys trace pipe buffer underruns.
|
2019-08-24 00:42:00 +02:00 |
|
Bartosz Taudul
|
0cbb853945
|
Add missing SetThreadName() calls.
|
2019-08-20 16:23:00 +02:00 |
|
Bartosz Taudul
|
332262dd84
|
Shorter thread names.
|
2019-08-20 16:22:54 +02:00 |
|
Bartosz Taudul
|
247acd03ee
|
Kernel tracing on android.
|
2019-08-20 15:49:40 +02:00 |
|
Bartosz Taudul
|
e427d67347
|
Don't bail out if unimportant variables are not available.
|
2019-08-20 12:19:05 +02:00 |
|
Bartosz Taudul
|
bfda30be0b
|
Use su on android to set tracing variables.
|
2019-08-20 12:18:46 +02:00 |
|
Bartosz Taudul
|
9d87a8394d
|
Add missing getline() implementation for android API < 18.
|
2019-08-19 15:26:09 +02:00 |
|
Bartosz Taudul
|
9be6f4a414
|
Fix typo.
|
2019-08-19 13:03:37 +02:00 |
|
Bartosz Taudul
|
d209bb4d01
|
Add missing function pointer checks.
|
2019-08-19 12:47:27 +02:00 |
|
Bartosz Taudul
|
20e8a5ecc8
|
Create tid to pid mapping.
|
2019-08-17 22:32:41 +02:00 |
|
Bartosz Taudul
|
77c636c3fd
|
Retrieve module name for threads with no names on windows.
|
2019-08-17 21:24:40 +02:00 |
|
Bartosz Taudul
|
f7589bde02
|
Trace thread wakeups on linux.
|
2019-08-17 17:18:11 +02:00 |
|
Bartosz Taudul
|
414f903cc5
|
Collect thread wakeup data.
|
2019-08-17 17:05:29 +02:00 |
|
Bartosz Taudul
|
e9080bdbcd
|
Hardcode windows PID 4 as "System".
|
2019-08-17 03:44:47 +02:00 |
|
Bartosz Taudul
|
40eb8a5a03
|
Proper check for invalid handle.
|
2019-08-17 03:44:11 +02:00 |
|
Bartosz Taudul
|
6c1dd8eaec
|
Cast thread handle to DWORD.
|
2019-08-16 21:21:37 +02:00 |
|
Bartosz Taudul
|
d7104c752a
|
Cygwin compat layer.
|
2019-08-16 21:16:04 +02:00 |
|
Bartosz Taudul
|
819ef2a82b
|
External process/thread name retrieval on linux.
|
2019-08-16 21:00:42 +02:00 |
|
Bartosz Taudul
|
e975c4d7bf
|
Also retrieve external thread names.
|
2019-08-16 19:49:16 +02:00 |
|
Bartosz Taudul
|
fe7f56b022
|
Implement retrieval of external process names.
|
2019-08-16 19:22:23 +02:00 |
|
Bartosz Taudul
|
83fddd9aa6
|
Fix unicode builds.
|
2019-08-16 13:09:27 +02:00 |
|
Bartosz Taudul
|
9d5240c597
|
Mutable char array is required here due to shit API design.
|
2019-08-16 13:03:20 +02:00 |
|
Bartosz Taudul
|
5e199d1ab3
|
Support ftrace on ARM.
|
2019-08-14 16:28:54 +02:00 |
|
Bartosz Taudul
|
42865d7c7b
|
Don't set x86-tsc clock on non-x86 platforms.
|
2019-08-14 15:14:36 +02:00 |
|
Bartosz Taudul
|
54a9132bb5
|
Skip context switch events in on demand mode, if no connection.
|
2019-08-14 15:09:33 +02:00 |
|
Bartosz Taudul
|
3988b56c92
|
Capture context switches on linux.
|
2019-08-14 13:56:15 +02:00 |
|
Bartosz Taudul
|
92b6da7cc2
|
SetThreadName() only works on the current thread.
This breaking change is required, because kernel trace facilities use
kernel thread ids, which are inaccessible from the pthread_t level.
|
2019-08-14 02:22:45 +02:00 |
|
Bartosz Taudul
|
b313e46139
|
Keep event trace properties to terminate trace on exit.
|
2019-08-13 13:10:37 +02:00 |
|
Bartosz Taudul
|
90d26cb1b6
|
Collect and send context switch events.
|
2019-08-13 02:35:32 +02:00 |
|
Bartosz Taudul
|
fe0f1aea07
|
Add system tracing skeleton.
|
2019-08-12 23:05:34 +02:00 |
|