From c64a2a7b9fab0dca3dcfcd9166cabc78c5abacc3 Mon Sep 17 00:00:00 2001 From: yunwei37 <1067852565@qq.com> Date: Sat, 18 Nov 2023 01:01:11 +0000 Subject: [PATCH] fix ci --- .github/workflows/test-runtime.yml | 7 +++---- benchmark/tools/Makefile | 2 +- runtime/syscall-server/syscall_context.cpp | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test-runtime.yml b/.github/workflows/test-runtime.yml index 565d4343..d075d6e9 100644 --- a/.github/workflows/test-runtime.yml +++ b/.github/workflows/test-runtime.yml @@ -30,10 +30,9 @@ jobs: - name: build runtime with mpk enable run: | make clean - cmake -Bbuild -DBPFTIME_ENABLE_UNIT_TESTING=0 \ - -DCMAKE_BUILD_TYPE:STRING=Release \ - -DBPFTIME_ENABLE_LTO=0 -DBPFTIME_ENABLE_MPK=1 - cmake --build build --config Release + cmake -Bbuild -DBPFTIME_ENABLE_UNIT_TESTING=1 -DBPFTIME_ENABLE_MPK=1 + cmake --build build --config Debug -DBPFTIME_ENABLE_MPK=1 + cmake --build build - name: test runtime with mpk run: make unit-test diff --git a/benchmark/tools/Makefile b/benchmark/tools/Makefile index c534a353..3c81d575 100644 --- a/benchmark/tools/Makefile +++ b/benchmark/tools/Makefile @@ -1,2 +1,2 @@ readlink: readlink.cpp - g++ readlink.cpp -o readlink \ No newline at end of file + g++ readlink.cpp -o readlink diff --git a/runtime/syscall-server/syscall_context.cpp b/runtime/syscall-server/syscall_context.cpp index e7a8e528..eef94def 100644 --- a/runtime/syscall-server/syscall_context.cpp +++ b/runtime/syscall-server/syscall_context.cpp @@ -258,7 +258,7 @@ int syscall_context::handle_perfevent(perf_event_attr *attr, pid_t pid, int cpu, spdlog::debug("Created software perf event with fd {}", fd); return fd; } - spdlog::warn("Calling original perf event open"); + spdlog::info("Calling original perf event open"); return orig_syscall_fn(__NR_perf_event_open, (uint64_t)(uintptr_t)attr, (uint64_t)pid, (uint64_t)cpu, (uint64_t)group_fd, (uint64_t)flags);