Skip to content

Commit

Permalink
Merge branch 'apache:master' into bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterRK authored Apr 23, 2024
2 parents 9e09b54 + 6a335aa commit a5531e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ jobs:
- uses: ./.github/actions/install-essential-dependences
- name: install gtest
run: |
sudo apt-get update
sudo apt-get install -y cmake libgtest-dev gdb && cd /usr/src/gtest && sudo cmake . && sudo make && sudo mv lib/libgtest* /usr/lib/
- uses: ./.github/actions/init-make-config
with:
Expand Down
2 changes: 1 addition & 1 deletion src/butil/iobuf_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ static uint g_iobuf_profiler_sample_rate = 100;
static void InitGlobalIOBufProfilerInfo() {
const char* enabled = getenv("ENABLE_IOBUF_PROFILER");
g_iobuf_profiler_enabled = enabled && strcmp("1", enabled) == 0 && ::GetStackTrace != NULL;
if (g_iobuf_profiler_enabled) {
if (!g_iobuf_profiler_enabled) {
return;
}

Expand Down

0 comments on commit a5531e1

Please sign in to comment.