From 7fe3fbe01861e5bc5bf0c4bd1836534b85bc1e0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Mon, 13 May 2013 10:46:43 +0100 Subject: [PATCH] Re-add backtrace_is_needed() call. Removed by mistake during refactoring of commit 69909e3853c23d0ce062b6c9f232191970da9aee --- common/trace_writer_local.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/trace_writer_local.cpp b/common/trace_writer_local.cpp index e323bb4..6cea2fa 100644 --- a/common/trace_writer_local.cpp +++ b/common/trace_writer_local.cpp @@ -153,7 +153,7 @@ unsigned LocalWriter::beginEnter(const FunctionSig *sig, bool fake) { assert(this_thread_num); unsigned thread_id = this_thread_num - 1; unsigned call_no = Writer::beginEnter(sig, thread_id); - if (!fake) { + if (!fake && backtrace_is_needed(sig->name)) { std::vector backtrace = get_backtrace(); beginBacktrace(backtrace.size()); for (unsigned i = 0; i < backtrace.size(); ++i) { -- 2.45.2