Loading CMakeLists.txt +1 −2 Original line number Diff line number Diff line Loading @@ -90,10 +90,9 @@ find_package(Abt REQUIRED) find_package(Margo REQUIRED) find_package(Syscall_intercept REQUIRED) # boost dependencies, system is required for filesystem # boost dependencies find_package(Boost 1.53 REQUIRED COMPONENTS filesystem program_options ) Loading include/client/logging.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -17,9 +17,9 @@ #include <libsyscall_intercept_hook_point.h> #include <type_traits> #include <boost/optional.hpp> #include <client/make_array.hpp> #include <client/syscalls.hpp> #include <optional> #include <fmt/format.h> #include <fmt/ostream.h> #include <date/tz.h> Loading Loading @@ -375,7 +375,7 @@ struct logger { void log_syscall(syscall::info info, const long syscall_number, const long args[6], boost::optional<long> result = boost::none); const long args[6], std::optional<long> result = {}); static std::shared_ptr<logger>& global_logger() { Loading include/client/make_array.hpp +2 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ #ifndef LIBGKFS_UTILS_MAKE_ARRAY_HPP #define LIBGKFS_UTILS_MAKE_ARRAY_HPP #include <array> namespace gkfs { namespace util { Loading include/client/syscalls/args.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -18,12 +18,14 @@ #define GKFS_SYSCALLS_ARGS_HPP #include <fcntl.h> #include <signal.h> #include <csignal> #include <cassert> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <syscall.h> #include <unistd.h> #include <optional> #include <type_traits> #include <fmt/format.h> Loading Loading @@ -78,7 +80,7 @@ static constexpr auto generic = type::generic; struct printable_arg { const char* const name; const long value; boost::optional<long> size; std::optional<long> size; }; Loading src/client/intercept.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ #include <client/hooks.hpp> #include <client/logging.hpp> #include <boost/optional.hpp> #include <optional> #include <fmt/format.h> #include <cerrno> Loading Loading
CMakeLists.txt +1 −2 Original line number Diff line number Diff line Loading @@ -90,10 +90,9 @@ find_package(Abt REQUIRED) find_package(Margo REQUIRED) find_package(Syscall_intercept REQUIRED) # boost dependencies, system is required for filesystem # boost dependencies find_package(Boost 1.53 REQUIRED COMPONENTS filesystem program_options ) Loading
include/client/logging.hpp +2 −2 Original line number Diff line number Diff line Loading @@ -17,9 +17,9 @@ #include <libsyscall_intercept_hook_point.h> #include <type_traits> #include <boost/optional.hpp> #include <client/make_array.hpp> #include <client/syscalls.hpp> #include <optional> #include <fmt/format.h> #include <fmt/ostream.h> #include <date/tz.h> Loading Loading @@ -375,7 +375,7 @@ struct logger { void log_syscall(syscall::info info, const long syscall_number, const long args[6], boost::optional<long> result = boost::none); const long args[6], std::optional<long> result = {}); static std::shared_ptr<logger>& global_logger() { Loading
include/client/make_array.hpp +2 −0 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ #ifndef LIBGKFS_UTILS_MAKE_ARRAY_HPP #define LIBGKFS_UTILS_MAKE_ARRAY_HPP #include <array> namespace gkfs { namespace util { Loading
include/client/syscalls/args.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -18,12 +18,14 @@ #define GKFS_SYSCALLS_ARGS_HPP #include <fcntl.h> #include <signal.h> #include <csignal> #include <cassert> #include <sys/mman.h> #include <sys/stat.h> #include <sys/types.h> #include <syscall.h> #include <unistd.h> #include <optional> #include <type_traits> #include <fmt/format.h> Loading Loading @@ -78,7 +80,7 @@ static constexpr auto generic = type::generic; struct printable_arg { const char* const name; const long value; boost::optional<long> size; std::optional<long> size; }; Loading
src/client/intercept.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ #include <client/hooks.hpp> #include <client/logging.hpp> #include <boost/optional.hpp> #include <optional> #include <fmt/format.h> #include <cerrno> Loading