You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tracy/public/client
Clément Grégoire 10c6e3dee1 Fix delay loading by not exporting variables
[`/DELAYLOAD`](https://learn.microsoft.com/en-us/cpp/build/reference/delayload-delay-load-import?view=msvc-170) only works with exported functions, not variables (as it patches thunks after the first load).
So instead of using exporting a pointer for `___tracy_RtlWalkFrameChain`, make it a function that will call said pointer. This only adds a `mov`+`jmp` instructions in optimized builds to the call, which is negligible compared to the actual cost of RtlWalkFrameChain. This also does not affect the reported callstack since it will use a `jmp` without touching the stack, so `___tracy_RtlWalkFrameChain` won't appear in the capture stacktrace.
4 weeks ago
..
TracyAlloc.cpp
TracyArmCpuTable.hpp
TracyCallstack.cpp Fix delay loading by not exporting variables 4 weeks ago
TracyCallstack.h
TracyCallstack.hpp Fix delay loading by not exporting variables 4 weeks ago
TracyCpuid.hpp
TracyDebug.hpp
TracyDxt1.cpp
TracyDxt1.hpp
TracyFastVector.hpp
TracyKCore.cpp
TracyKCore.hpp
TracyLock.hpp
TracyOverride.cpp
TracyProfiler.cpp
TracyProfiler.hpp
TracyRingBuffer.hpp
TracyScoped.hpp
TracyStringHelpers.hpp
TracySysPower.cpp
TracySysPower.hpp
TracySysTime.cpp
TracySysTime.hpp
TracySysTrace.cpp Replace sched_wakeup by sched_waking 2 months ago
TracySysTrace.hpp
TracyThread.hpp
tracy_SPSCQueue.h
tracy_concurrentqueue.h
tracy_rpmalloc.cpp
tracy_rpmalloc.hpp