Adam Snaider | c8b7e75 | 2023-09-14 14:27:53 -0700 | [diff] [blame] | 1 | #include "aos/ipc_lib/shm_base.h" |
2 | |||||
Stephan Pleines | 682928d | 2024-05-31 20:43:48 -0700 | [diff] [blame^] | 3 | #include <string> |
4 | |||||
Adam Snaider | c8b7e75 | 2023-09-14 14:27:53 -0700 | [diff] [blame] | 5 | DEFINE_string(shm_base, "/dev/shm/aos", |
6 | "Directory to place queue backing mmaped files in."); | ||||
7 | namespace aos::testing { | ||||
8 | void SetShmBase(const std::string_view base) { | ||||
9 | FLAGS_shm_base = std::string(base) + "/aos"; | ||||
10 | } | ||||
11 | } // namespace aos::testing |