tracy/client
Simonas Kazlauskas 54ee3d8a94 Expose TRACY_MANUAL_LIFETIME APIs to C API clients
These are extremely useful for ecosystems such as Rust. There are a
couple of reasons why:

1. Rust strongly advises against relying on life before/after main, as
   it is difficult to reason about. Most users working in Rust will
   generally be quite surprised when encountering this concept.
2. Rust and its package manager makes it easy to use packages (crates)
   and somewhat less straightforward to consider the implications of
   including a dependency.

   In case of the `rust_tracy_client` set of packages, I currently have
   to warn throughout the documentation of the package that simply
   adding a dependency on the bindings package is sufficient to
   potentially accidentally broadcast a lot of information about the
   instrumented binary to the broader world. This seems like a major
   footgun given how easy is it to forget about having added this
   dependency.

Ability to manually manage the lifetime of the profiler would be a great
solution to these problems.
2021-09-18 14:54:00 +03:00
..
tracy_concurrentqueue.h Remove trailing whitespace. 2020-10-29 23:06:28 +01:00
tracy_rpmalloc.cpp Fix rpmalloc on ios. 2021-05-30 13:38:29 +02:00
tracy_rpmalloc.hpp Mark rprealloc as a part of Tracy API. 2020-12-27 14:11:45 +01:00
TracyAlloc.cpp Fix rpmalloc init for shared libraries. 2021-06-13 12:15:36 +02:00
TracyArmCpuTable.hpp Update ARM CPU parts list. 2021-06-04 19:41:59 +02:00
TracyCallstack.cpp No kernel symbol on macos. 2021-06-20 19:35:05 +02:00
TracyCallstack.h Use libbacktrace on BSD. 2019-11-21 20:41:57 +01:00
TracyCallstack.hpp Return symbol address in DecodeCodeAddress(). 2021-06-19 19:02:08 +02:00
TracyDebug.hpp Add debug print macros. 2021-05-21 01:47:31 +02:00
TracyDxt1.cpp Mask out alpha channel on SSE and AVX2 paths. 2020-07-20 13:58:35 +02:00
TracyDxt1.hpp Experimental DXT1 compressor. 2019-06-27 19:14:51 +02:00
TracyFastVector.hpp Don't init rpmalloc, if we know it has been done already. 2021-06-10 01:48:11 +02:00
TracyLock.hpp Order of lock events is now always well-defined. 2020-07-26 13:54:40 +02:00
TracyProfiler.cpp Expose TRACY_MANUAL_LIFETIME APIs to C API clients 2021-09-18 14:54:00 +03:00
TracyProfiler.hpp Remove exception handler during profiler destruction. 2021-07-25 11:48:27 +02:00
TracyRingBuffer.hpp Process all data available in ring buffers. 2021-06-10 02:07:29 +02:00
TracyScoped.hpp Add IsActive accessor to ScopedZone. 2021-02-12 20:30:43 -06:00
TracySysTime.cpp only write SysTime::used if fscanf succeeds 2020-06-03 19:54:49 -07:00
TracySysTime.hpp Implement reading sys time on BSD. 2019-11-21 20:41:57 +01:00
TracySysTrace.cpp Undo my previous change. 2021-09-17 11:34:40 +02:00
TracySysTrace.hpp Store sampling period. 2020-02-25 23:08:52 +01:00
TracySysTracePayload.hpp Fix shutdown with TRACY_NO_EXIT=1 on Android. (#134) 2020-11-26 20:33:54 +01:00
TracyThread.hpp Add missing rpmalloc include. 2020-07-19 13:04:51 +02:00