Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/wolfpld/tracy.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/public
AgeCommit message (Collapse)Author
2022-11-10Remove semicolons from lockable macros.Bartosz Taudul
2022-11-09Always provide Callstack() implementation, even if dummy.Bartosz Taudul
This fixes usage with TRACY_HAS_CALLSTACK undefined, allowing compilation of otherwise unused functions, which are already protected from being called through macro redirections. See https://github.com/wolfpld/tracy/pull/492 for more information.
2022-11-03Merge pull request #488 from xxxbxxx/masterBartosz Taudul
Added typed plots variants to the C API
2022-11-03Signals are only set if TRACY_NO_CRASH_HANDLER is not defined.Bartosz Taudul
2022-11-03Added typed plots variants to the C APIxxxbxxx
2022-10-28Override dlclose() to do nothing.Bartosz Taudul
Provide a custom no-op implementation of dlclose(), in order to prevent shared object data from disappearing from profiler view. The server makes queries for program executable code, which has to be always available, otherwise wrong data may be provided, or the program may crash, due to referencing no longer mapped memory. The dlclose() documentation states that the function internally decreases the reference count, and only does unload the shared object when the count reaches zero. There is no guarantee that the shared object data will be unloaded immediately after any dlclose call originating from the program. This function override exploits this fact.
2022-10-28Don't read payload.extra, if not needed.Bartosz Taudul
2022-10-27Release 0.9.0.v0.9Bartosz Taudul
2022-10-27Add compatibility with previous broadcast versions.Bartosz Taudul
2022-10-13Make sure source file data is properly tracked.Bartosz Taudul
2022-10-13Decouple source code retrieval from the profiler thread.Bartosz Taudul
This will prevent apparent freezes of the profiler when debuginfod queries are made.
2022-10-13Handle symbol thread crashes.Bartosz Taudul
Should the symbol thread crash, mark that it is gone. This will allow the profiler to transmit crash call stack, including resolved symbol names and locations (which will resolve on the main profiler thread).
2022-10-13Initialize rpmalloc properly in symbol worker.Bartosz Taudul
2022-10-12Increase extra data in SymbolQueueItem to 64 bit.Bartosz Taudul
2022-10-12Fix preprocesor condition.Bartosz Taudul
2022-10-12s_symbolTid is only available if crash handler is there.Bartosz Taudul
2022-10-12Cleanup.Bartosz Taudul
2022-10-12Remove locationCodeAddressList map from Worker.Bartosz Taudul
Mapping of source code locations to code addresses is now performed dynamically during disassembly in SourceView.
2022-10-11Remove CodeLocation query and CodeInformation response.Bartosz Taudul
2022-10-09Include PID in broadcast message.Bartosz Taudul
2022-10-08Ditto on windows.Bartosz Taudul
2022-10-08Do not freeze symbol thread.Bartosz Taudul
2022-10-08__GNUC__ version checks are not valid on clang.Bartosz Taudul
2022-10-08Include gcc patchlevel in compiler version report.Bartosz Taudul
2022-10-08Use dladdr, not libbacktrace in fast callstack decode path.Bartosz Taudul
DecodeCallstackPtrFast() may be called outside the symbol processing thread, for example in the crash handler. Using the less-capable dladdr functionality doesn't have a big impact here. Callstack decoding in this context is used to remove the uninteresting top part of the callstack, so that the callstack ends at the crashing function, and not in the crash handler. Even if this functionality would be impacted by this change, the damage done is close to none. The other alternative is to use locking each time a libbacktrace is to be used, which does not seem to be worthy to do, considering that the problem only occurs in a very rare code path. NB everything was working when it was first implemented, because back then the callstack decoding was still performed on the main thread, and not on a separate, dedicated one.
2022-10-04Increase possible inline stack size to 64 elements.Bartosz Taudul
2022-09-15Merge pull request #468 from sherief/exception-handler-fixBartosz Taudul
Windows exception handler allows other handlers to be called.
2022-09-13Make symbol thread exit status more robust.Bartosz Taudul
2022-09-11Check for macro existence before checking its value.Bartosz Taudul
2022-09-11Windows exception handler allows other handlers to be called.Sherief Farouk
The profiled app might install handlers to track crashes, write minidumps, etc. - this patch makes sure the app's exception handler is called when a crash happens while profiling with Tracy.
2022-09-09Added gpu zone begin non-alloc and callstack variants to the C APIPilzschaf
2022-09-09Fix indentationPilzschaf
2022-09-09Added gpu calibration to the C APIPilzschaf
2022-09-02Normalize symbol paths on libbacktrace systems.Bartosz Taudul
2022-09-02Add path normalization function.Bartosz Taudul
2022-08-31Fix cpuid symbol redefinition on older GCC versionsRobert Adam
Since commit 940f32c1a892dd194c3c6d66bb3550149de919fc building the Tracy library on Linux using a GCC version < 11 would result in compile errors due to symbol redefinitions of __get_cpuid_max, __get_cpuid and __get_cpuid_count. This is because prior to GCC 11 the cpuid.h header file did not have any include guards and thus including this header more than once would produce the abovementioned errors. To work around this issue, including cpuid.h has been wrapped into a custom header file that itself uses include guards and thus shields cpuid.h from being included multiple times. Fixes #452
2022-08-27Move TracyVersion.hpp to common.Bartosz Taudul
2022-08-26A bit more consistent usage of atomichulakdar
2022-08-26Fix d3d12 gpu zones for multithreaded usehulakdar
2022-08-26Add user data pointer to parameter callback.Bartosz Taudul
2022-08-18Keep a list of buffers left to handle.Bartosz Taudul
Previously a bitmap of buffers was repeatedly scanned to see which buffers still contain data. This process was needlessly wasting cycles (seen as a hotspot when profiled) and worse yet, the workload increased with the number of CPU cores (=> buffers used) to handle. The new implementation instead maintains a list of buffer indices that have to be handled. This list does not contain empty buffers, so each loop iteration performs some work, instead of just spinning in search for buffers to handle.
2022-08-18Add include for cpuid.Bartosz Taudul
2022-08-18Load globals to local variables.Bartosz Taudul
2022-08-17Expose source callback registering through a macro.Bartosz Taudul
2022-08-17Use source contents callback.Bartosz Taudul
2022-08-17Add source contents callback setup.Bartosz Taudul
2022-08-17Resolve relative file names to absolute ones.Bartosz Taudul
Note that this is a tentative fix, which *should* be working, but it may as well not be correct in some edge cases. Who knows.
2022-08-16Log invalid debuginfod queries.Bartosz Taudul
Filename paths must be absolute, not relative.
2022-08-16Add debug logging for debuginfod queries.Bartosz Taudul
2022-08-16Bump LZ4 to 1.9.4.Bartosz Taudul