We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7eca39 commit bbd88a8Copy full SHA for bbd88a8
1 file changed
src/butil/iobuf_profiler.cpp
@@ -47,7 +47,7 @@ static uint g_iobuf_profiler_sample_rate = 100;
47
static void InitGlobalIOBufProfilerInfo() {
48
const char* enabled = getenv("ENABLE_IOBUF_PROFILER");
49
g_iobuf_profiler_enabled = enabled && strcmp("1", enabled) == 0 && ::GetStackTrace != NULL;
50
- if (g_iobuf_profiler_enabled) {
+ if (!g_iobuf_profiler_enabled) {
51
return;
52
}
53
0 commit comments