Bartosz Taudul
40281ce2a1
Add default no-op to switch.
2020-03-26 01:07:25 +01:00
Bartosz Taudul
add5b29d03
Report CPU architecture in welcome message.
2020-03-25 21:28:02 +01:00
Bartosz Taudul
ce449ac0e2
Notify server that parameter was handled.
2020-03-25 20:37:26 +01:00
Bartosz Taudul
f114ec3f80
Add code transfer from client to server.
2020-03-25 20:04:55 +01:00
Bartosz Taudul
3e0e120222
Add extra parameter to server queries.
2020-03-25 20:04:01 +01:00
Bartosz Taudul
c999a74d34
Symbol length transfer.
2020-03-25 18:32:36 +01:00
Bartosz Taudul
c6bb08355c
Allow specification of port through env variable.
2020-03-08 16:14:36 +01:00
Bartosz Taudul
1da62c2190
Send deferred lock names.
2020-03-08 15:05:35 +01:00
Bartosz Taudul
127224acc6
Send listen port in broadcast message.
2020-03-08 14:37:59 +01:00
Bartosz Taudul
14c896573d
Separate config for data and broadcast port.
2020-03-08 14:34:09 +01:00
Bartosz Taudul
e7240cb77d
Custom lock name transfer.
2020-03-08 13:47:38 +01:00
Bartosz Taudul
c36ed4b8b8
Boring warning fixes.
2020-03-01 01:48:20 +01:00
Bartosz Taudul
4346620afa
No need to copy module name.
2020-02-27 13:45:39 +01:00
Bartosz Taudul
474383b656
Only copy symbol strings, if needed.
2020-02-27 13:17:26 +01:00
Bartosz Taudul
2df6f9068a
Don't retrieve symbol name for address.
2020-02-27 12:58:01 +01:00
Bartosz Taudul
be5793987e
Don't send symbol name.
2020-02-27 12:49:48 +01:00
Bartosz Taudul
26cee8acf0
Perform symbol information queries.
2020-02-26 22:35:15 +01:00
Bartosz Taudul
abf8c42a7c
Send module name.
2020-02-26 00:33:09 +01:00
Bartosz Taudul
c5b2d14f8c
Send sampling period in welcome message.
2020-02-25 23:12:31 +01:00
Bartosz Taudul
2b7f5091f1
Store sampling period.
2020-02-25 23:08:52 +01:00
Bartosz Taudul
3402d16548
Send symbol base address.
2020-02-25 23:03:40 +01:00
Bartosz Taudul
02d200878d
Process queue data in-place.
2020-02-23 15:18:24 +01:00
Bartosz Taudul
96034bca3e
Force inline AppendData(), NeedDataSize().
2020-02-23 14:44:19 +01:00
Bartosz Taudul
e270603117
Don't write reference time to memory in each iteration.
2020-02-22 18:52:37 +01:00
Bartosz Taudul
054a6f8563
Send time deltas in callstack sample data packets.
2020-02-22 16:42:47 +01:00
Bartosz Taudul
1ee80e0df5
Send/free callstack sample payloads.
2020-02-22 16:20:43 +01:00
Bartosz Taudul
23fe3e623d
64-bit only version of callstack payload sender.
2020-02-22 14:05:01 +01:00
Bartosz Taudul
f186540c4f
Fix callstack pointers in 32-bit builds.
2020-02-22 13:38:09 +01:00
Bartosz Taudul
838c0aaaa9
Check if BUS_MCEERR_AR and BUS_MCEERR_AO are defined.
2020-02-12 01:27:03 +01:00
Bartosz Taudul
2c8d519d70
Fix typo.
2020-02-11 15:12:06 +01:00
Bartosz Taudul
8d5f4d7363
Always use init once to initialize rpmalloc.
2020-01-30 20:08:34 +01:00
Bartosz Taudul
aa94df0845
Replace rpmalloc_thread_initialize with InitRPMallocThread().
2020-01-25 17:16:08 +01:00
Bartosz Taudul
ab2fbd6164
Move ParamaterSetup() implementation to header.
2020-01-25 16:51:17 +01:00
Bartosz Taudul
a90004b983
Move Set/GetThreadName() to Tracy API.
2020-01-25 16:36:58 +01:00
Bartosz Taudul
55d03cb03e
Hide async queue setup/commit behind macros.
2020-01-19 15:06:11 +01:00
Bartosz Taudul
25082b2bec
Don't report CPU topology if delayed init is active.
...
Reporting topology requires producer to be available, which creates a
deadlock during delayed init data structures construction.
Calling GetProducer() results in a call to GetProfilerThreadData(),
which in turn calls GetProfilerData() to construct its thread local
variable. However, at this point we already are calling
GetProfilerData() (to construct the profiler itself). This would result
in an incorrect double construction of data, but the code already
prevents this by allowing init code to be entered only once. Hence the
deadlock.
Currently this is a non-issue, as no platform which can report CPU
topology needs to use delayed init.
2020-01-14 19:41:34 +01:00
Bartosz Taudul
129b80ef0f
Free source location, if zone is not active.
2019-12-06 00:42:42 +01:00
Bartosz Taudul
b9cdf2cbb7
Expose srcloc allocation in C API.
2019-12-06 00:25:52 +01:00
Bartosz Taudul
399b87fecc
Add allocated srcloc zone begin emit functions to C API.
2019-12-06 00:22:49 +01:00
Bartosz Taudul
e8fcc250a1
Report CPU topology on Linux.
2019-11-30 01:51:29 +01:00
Bartosz Taudul
712403e9fd
Transfer, display, save CPU topology data.
2019-11-29 22:41:41 +01:00
Bartosz Taudul
59371eef5a
Obtain CPU topology on windows.
2019-11-29 18:29:31 +01:00
Bartosz Taudul
a7d2d5f08b
Fix DeferItem() call.
2019-11-26 01:10:50 +01:00
Bartosz Taudul
4551553eb4
Implement setting client parameters from server.
2019-11-25 23:59:48 +01:00
Bartosz Taudul
c5c9dfb0c9
Native callstacks are now optional in allocated callstack messages.
2019-11-25 22:54:10 +01:00
Bartosz Taudul
c79449a6a1
Get proper program name on BSD.
2019-11-21 02:16:12 +01:00
Bartosz Taudul
7940977dba
Report physical memory size on BSD.
2019-11-21 02:14:08 +01:00
Bartosz Taudul
8286b0b72f
Plumbing for message call stacks.
2019-11-14 23:40:41 +01:00
Bartosz Taudul
0befc75f83
Fix conflicts with X.h.
2019-11-14 18:24:29 +01:00
Bartosz Taudul
655864eb7c
Enable crash handler on cygwin.
...
Crash is properly recorded, but the profiler hangs while waiting for
shutdown finish.
2019-11-07 19:20:13 +01:00