From 8a78fcd2f98c4726782fb02750ed2bd0e7267290 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 21 Aug 2018 01:53:00 +0200 Subject: [PATCH] Cut off Linux stack trace at sigreturn. --- client/TracyProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/TracyProfiler.cpp b/client/TracyProfiler.cpp index 01198823..669732df 100644 --- a/client/TracyProfiler.cpp +++ b/client/TracyProfiler.cpp @@ -610,7 +610,7 @@ static void CrashHandler( int signal, siginfo_t* info, void* ucontext ) item->crashReport.text = (uint64_t)s_crashText; tail.store( magic + 1, std::memory_order_release ); - s_profiler.SendCallstack( 60, thread ); + s_profiler.SendCallstack( 60, thread, "__kernel_rt_sigreturn" ); } DIR* dp = opendir( "/proc/self/task" );