Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 committed Nov 18, 2023
1 parent d113047 commit c64a2a7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test-runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion benchmark/tools/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
readlink: readlink.cpp
g++ readlink.cpp -o readlink
g++ readlink.cpp -o readlink
2 changes: 1 addition & 1 deletion runtime/syscall-server/syscall_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c64a2a7

Please sign in to comment.