Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwei37 committed Aug 15, 2024
1 parent 9d7d172 commit 16f3d41
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@ set(headers
message(INFO " Headers: ${headers}")
message(INFO " Found the following sources: ${sources}")


if(CMAKE_BUILD_TYPE STREQUAL "Debug")
add_definitions(-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_DEBUG)
else()
add_definitions(-DSPDLOG_ACTIVE_LEVEL=SPDLOG_LEVEL_INFO)
endif()

add_library(
${PROJECT_NAME}
${sources}
Expand Down
1 change: 0 additions & 1 deletion runtime/include/bpftime_logger.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ inline std::string expand_user_path(const std::string &inputPath) {
return "console";
}


if (inputPath.size() == 1 || inputPath[1] == '/') {
// Replace "~" with the home directory
std::string expandedPath = (std::filesystem::path(homeDir) / inputPath.substr(1)).string();
Expand Down

0 comments on commit 16f3d41

Please sign in to comment.