Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/libunwind
6 changes: 3 additions & 3 deletions src/Common/QueryProfiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ namespace DB
namespace
{
#if defined(OS_LINUX)
thread_local size_t write_trace_iteration = 0;
//thread_local size_t write_trace_iteration = 0;
#endif
/// Even after timer_delete() the signal can be delivered,
/// since it does not do anything with pending signals.
Expand All @@ -57,7 +57,7 @@ namespace

auto saved_errno = errno; /// We must restore previous value of errno in signal handler.

#if defined(OS_LINUX)
#if defined(OS_LINUX) && false //asdqwe
Comment thread
antonio2368 marked this conversation as resolved.
if (info)
{
int overrun_count = info->si_overrun;
Expand Down Expand Up @@ -92,7 +92,7 @@ namespace
constexpr bool sanitizer = false;
#endif

asynchronous_stack_unwinding = true;
//asdqwe asynchronous_stack_unwinding = true;
if (sanitizer || 0 == sigsetjmp(asynchronous_stack_unwinding_signal_jump_buffer, 1))
{
stack_trace.emplace(signal_context);
Expand Down