iwyu: //aos/starter/...
The full include-list for aos/starter/starter_cmd.cc:
<ctype.h> // for tolower
<stdlib.h> // for exit
<algorithm> // for copy, sort, max,
find_if, transform
<chrono> // for duration_cast,
operator-, seconds, duration, chrono, nanoseconds
<compare> // for operator<
<functional> // for function
<iostream> // for operator<<,
char_traits, basic_ostream, cout, endl, cerr
<map> // for map
<memory> // for allocator,
unique_ptr, make_unique
<optional> // for optional
<string> // for operator==,
basic_string, operator<<, operator+, string, to_string, hash
<string_view> // for operator<<,
operator<=>, string_view, basic_string_view, operator==
<tuple> // for tuple, get
<unordered_map> // for operator==,
unordered_map, _Node_iterator_base
<utility> // for pair
<vector> // for vector
"absl/strings/str_format.h" // for PrintF
"absl/strings/str_join.h" // for StrJoin
"aos/configuration.h" // for Node,
Configuration, Application, GetMyNode, GetNode, GetApplication,
GetNodes, ReadConfig
"aos/flatbuffers.h" // for FlatbufferVector,
FlatbufferDetachedBuffer
"aos/init.h" // for InitGoogle
"aos/starter/starter_generated.h" // for ApplicationStatus,
State, EnumNameState, Status
"aos/starter/starter_rpc_generated.h" // for Command
"aos/starter/starter_rpc_lib.h" // for ApplicationCommand,
FindApplication, GetStarterStatus, SendCommandBlocking,
FindApplicationStatus, GetStatus
"aos/time/time.h" // for monotonic_clock
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector,
VectorIterator
"gflags/gflags.h" // for DEFINE_string,
DEFINE_bool
"glog/logging.h" // for LOG, LogMessage,
COMPACT_GOOGLE_LOG_WARNING, COMPACT_GOOGLE_LOG_ERROR, CHECK,
COMPACT_GOOGLE_LOG_FATAL, LogMessageFatal
The full include-list for aos/starter/starter_rpc_lib.h:
<stdint.h> // for uint64_t
<chrono> // for milliseconds
<functional> // for function
<map> // for map
<optional> // for optional
<string> // for string
<string_view> // for string_view
<utility> // for move, pair
<vector> // for vector
"aos/configuration.h" // for Configuration, Node
"aos/events/event_loop.h" // for EventLoop, Fetcher,
Sender, TimerHandler
"aos/flatbuffers.h" // for
FlatbufferDetachedBuffer, FlatbufferVector
"aos/starter/starter_generated.h" // for Status,
ApplicationStatus, State
"aos/starter/starter_rpc_generated.h" // for Command, StarterRpc
"aos/time/time.h" // for monotonic_clock
The full include-list for aos/starter/starter_rpc_lib.cc:
"aos/starter/starter_rpc_lib.h"
<algorithm> // for find_if, max
<ostream> // for operator<<,
basic_ostream
"aos/events/context.h" // for Context
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/flatbuffer_merge.h" // for CopyFlatBuffer
"aos/starter/starterd_lib.h" // for StatusChannelForNode,
StarterRpcChannelForNode
"flatbuffers/buffer.h" // for Offset, AlignOf
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector, VectorIterator
"glog/logging.h" // for
COMPACT_GOOGLE_LOG_FATAL, CheckNotNull, LogMessageFatal, CHECK,
LOG, LogMessage, CHECK_NOTNULL, COMPACT_GOOGLE_LOG_INFO, VLOG,
COMPACT_GOOGLE_LOG_WARNING
The full include-list for aos/starter/subprocess.h:
<stdint.h> // for uint64_t
<sys/signalfd.h> // for signalfd_siginfo
<sys/types.h> // for pid_t, gid_t,
size_t, uid_t, ino_t
<algorithm> // for max
<chrono> // for nanoseconds,
seconds
<filesystem> // for path
<functional> // for function
<initializer_list> // for initializer_list
<memory> // for unique_ptr,
make_unique
<optional> // for optional
<string> // for string
<string_view> // for string_view
<utility> // for move
<vector> // for vector
"aos/configuration_generated.h" // for Application
"aos/events/epoll.h" // for EPoll
"aos/events/event_loop.h" // for TimerHandler,
EventLoop
"aos/events/event_loop_generated.h" // for Report
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/ipc_lib/signalfd.h" // for SignalFd
"aos/macros.h" // for
DISALLOW_COPY_AND_ASSIGN
"aos/starter/starter_generated.h" // for FileState,
LastStopReason, State, ApplicationStatus
"aos/starter/starter_rpc_generated.h" // for Command
"aos/time/time.h" // for monotonic_clock
"aos/util/scoped_pipe.h" // for ScopedPipe
"aos/util/top.h" // for Top
"flatbuffers/buffer.h" // for Offset
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector
The full include-list for aos/starter/subprocess_test.cc:
"aos/starter/subprocess.h"
<signal.h> // for kill, pid_t, SIGTERM
<stdlib.h> // for getenv, setenv, unsetenv
<sys/stat.h> // for S_IRWXU
<ostream> // for operator<<, basic_ostream
"absl/strings/str_cat.h" // for StrCat
"absl/strings/str_join.h" // for StrJoin
"aos/configuration.h" // for ReadConfig, Configuration
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/flatbuffers.h" // for FlatbufferDetachedBuffer
"aos/ipc_lib/shm_base.h" // for FLAGS_shm_base
"aos/testing/path.h" // for ArtifactPath
"aos/testing/tmpdir.h" // for TestTmpDir
"aos/util/file.h" // for WriteStringToFileOrDie,
MkdirP, ReadFileToStringOrDie, UnlinkRecursive
"gflags/gflags.h" // for FlagSaver
"glog/logging.h" // for ErrnoLogMessage, PCHECK,
COMPACT_GOOGLE_LOG_INFO, LogMessage, VLOG
"gmock/gmock.h" // for CaptureStderr,
GetCapturedStderr, Contains, MakePredicateFormatterFromMatcher,
EXPECT_THAT
"gtest/gtest.h" // for AssertionResult, Message,
TestPartResult, TestInfo, EXPECT_EQ, TEST_F, ASSERT_TRUE,
EXPECT_TRUE, ASSERT_EQ, ASSERT_FALSE, DeathTest, EXPECT_DEATH,
Test, FAIL
The full include-list for aos/starter/starterd.cc:
<pwd.h> // for getpwnam, passwd, uid_t
<unistd.h> // for setresgid, setresuid
<ostream> // for operator<<, basic_ostream
<string> // for char_traits, operator<<
"aos/configuration.h" // for ReadConfig, Configuration
"aos/events/event_loop.h" // for EventLoop
"aos/flatbuffers.h" // for FlatbufferDetachedBuffer
"aos/init.h" // for InitGoogle
"aos/starter/starterd_lib.h" // for Starter
"aos/util/file.h" // for UnlinkRecursive
"gflags/gflags.h" // for DEFINE_string,
DECLARE_string, DEFINE_bool
"glog/logging.h" // for ErrnoLogMessage, PLOG,
COMPACT_GOOGLE_LOG_FATAL, LOG, LogMessageFatal
The full include-list for aos/starter/irq_affinity_lib.h:
<stddef.h> // for size_t
<string> // for string
<string_view> // for string_view
<vector> // for vector
The full include-list for aos/starter/irq_affinity_lib.cc:
"aos/starter/irq_affinity_lib.h"
<fcntl.h> // for open, O_RDONLY
<unistd.h> // for size_t, read, ssize_t
<algorithm> // for max
<ostream> // for operator<<, basic_ostream,
basic_ostream::operator<<
<utility> // for move
"absl/strings/ascii.h" // for StripAsciiWhitespace
"absl/strings/match.h" // for StartsWith
"absl/strings/numbers.h" // for SimpleAtoi
"absl/strings/str_split.h" // for MaxSplitsImpl, StrSplit,
Splitter, AllowEmpty, operator!=, SkipEmpty, SplitIterator,
MaxSplits
"absl/strings/string_view.h" // for string_view, operator==,
basic_string_view, operator<<
"aos/scoped/scoped_fd.h" // for ScopedFD
"glog/logging.h" // for Check_EQImpl,
GetReferenceableValue, CHECK_EQ, COMPACT_GOOGLE_LOG_INFO, LOG,
LogMessage, Check_LEImpl, COMPACT_GOOGLE_LOG_FATAL,
LogMessageFatal, CHECK, CHECK_LE, ErrnoLogMessage, PCHECK, VLOG,
VLOG_IS_ON
The full include-list for aos/starter/irq_affinity.cc:
<linux/securebits.h> // for SECBIT_NOROOT,
SECBIT_NO_SETUID_FIXUP
<pwd.h> // for getpwnam, passwd,
size_t, uid_t
<sched.h> // for CPU_ISSET, cpu_set_t,
CPU_SETSIZE, sched_setaffinity, sched_setscheduler, CPU_SET,
SCHED_OTHER, SCHED_RR, pid_t, sched_param, CPU_ZERO, SCHED_FIFO,
sched_priority
<stdint.h> // for uint8_t
<sys/prctl.h> // for prctl,
PR_SET_SECUREBITS
<sys/resource.h> // for setpriority,
PRIO_PROCESS
<unistd.h> // for setresgid, setresuid
<algorithm> // for max
<map> // for map, operator==,
_Rb_tree_const_iterator
<optional> // for optional
<ostream> // for operator<<,
basic_ostream, basic_ostream::operator<<
<string> // for char_traits,
operator<<, string, allocator, operator==
<string_view> // for operator==,
basic_string_view, operator<<, string_view,
basic_string_view::find
<utility> // for pair
<vector> // for vector
"absl/strings/str_cat.h" // for StrCat
"aos/configuration.h" // for ReadConfig,
Configuration
"aos/events/event_loop.h" // for EventLoop
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/flatbuffers.h" // for
FlatbufferDetachedBuffer
"aos/init.h" // for InitGoogle
"aos/json_to_flatbuffer.h" // for FlatbufferToJson,
JsonFileToFlatbuffer
"aos/starter/irq_affinity_lib.h" // for InterruptsStatus
"aos/starter/kthread_generated.h" // for KthreadConfig,
IrqAffinityConfig, Scheduler, IrqConfig
"aos/util/file.h" // for ReadFileToStringOrDie,
WriteStringToFileOrDie
"aos/util/top.h" // for Top
"flatbuffers/buffer.h" // for Offset
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector, VectorIterator
"gflags/gflags.h" // for DEFINE_string
"glog/logging.h" // for ErrnoLogMessage,
COMPACT_GOOGLE_LOG_FATAL, LogMessageFatal, LOG, PCHECK, CHECK,
COMPACT_GOOGLE_LOG_INFO, LogMessage, PLOG
The full include-list for aos/starter/subprocess.h:
<stdint.h> // for uint64_t
<sys/signalfd.h> // for signalfd_siginfo
<sys/types.h> // for pid_t, gid_t,
size_t, uid_t, ino_t
<algorithm> // for max
<chrono> // for nanoseconds,
seconds
<filesystem> // for path
<functional> // for function
<initializer_list> // for initializer_list
<memory> // for unique_ptr,
make_unique
<optional> // for optional
<string> // for string
<string_view> // for string_view
<utility> // for move
<vector> // for vector
"aos/configuration_generated.h" // for Application
"aos/events/epoll.h" // for EPoll
"aos/events/event_loop.h" // for TimerHandler,
EventLoop
"aos/events/event_loop_generated.h" // for Report
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/ipc_lib/signalfd.h" // for SignalFd
"aos/macros.h" // for
DISALLOW_COPY_AND_ASSIGN
"aos/starter/starter_generated.h" // for FileState,
LastStopReason, State, ApplicationStatus
"aos/starter/starter_rpc_generated.h" // for Command
"aos/time/time.h" // for monotonic_clock
"aos/util/scoped_pipe.h" // for ScopedPipe
"aos/util/top.h" // for Top
"flatbuffers/buffer.h" // for Offset
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector
The full include-list for aos/starter/subprocess.cc:
"aos/starter/subprocess.h"
<errno.h> // for EEXIST, errno
<grp.h> // for gid_t, initgroups,
size_t
<pwd.h> // for getpwnam, uid_t,
passwd
<signal.h> // for sigprocmask,
sigaction, kill, sigemptyset, SIGINT, SIG_SETMASK, sigfillset,
sigset_t, SIGHUP, SIGKILL, SIGTERM, SIGABRT, SIGBUS, SIGCHLD,
SIGFPE, SIGPIPE, SIGQUIT, SIGSEGV, SIGXCPU, SIG_DFL, sa_handler
<stdlib.h> // for getenv, WIFEXITED,
EXIT_FAILURE, WEXITSTATUS, WIFSIGNALED, WTERMSIG
<sys/prctl.h> // for prctl,
PR_SET_PDEATHSIG
<sys/stat.h> // for mkdir, stat, ino_t
<sys/wait.h> // for waitpid, pid_t,
WNOHANG
<unistd.h> // for confstr, dup2, rmdir,
setresgid, setresuid, _exit, execvp, fork, getpid, getresgid,
getresuid, seteuid, setgid, setuid, STDERR_FILENO, STDOUT_FILENO,
_CS_PATH
<compare> // for operator>,
strong_ordering
<iterator> // for back_insert_iterator,
back_inserter
<ostream> // for operator<<,
basic_ostream, basic_ostream::operator<<
<ratio> // for ratio
"absl/strings/str_cat.h" // for StrCat
"absl/strings/str_split.h" // for AllowEmpty, StrSplit,
Splitter
"aos/util/file.h" // for
WriteStringToFileOrDie
"aos/util/process_info_generated.h" // for ProcessInfo
"glog/logging.h" // for ErrnoLogMessage,
PCHECK, LogMessage, LOG_IF, COMPACT_GOOGLE_LOG_FATAL,
LogMessageFatal, COMPACT_GOOGLE_LOG_INFO, CHECK, PLOG,
COMPACT_GOOGLE_LOG_WARNING, LOG, PLOG_IF, CheckNotNull,
CHECK_NOTNULL, VLOG
The full include-list for aos/starter/starterd_lib.h:
<sys/signalfd.h> // for signalfd_siginfo
<csignal> // for SIGABRT, SIGBUS,
SIGFPE, SIGHUP, SIGILL, SIGINT, SIGPIPE, SIGQUIT, SIGSEGV,
SIGTERM, SIGXCPU
<memory> // for unique_ptr
<mutex> // for mutex
<string> // for string
<unordered_map> // for unordered_map
<vector> // for vector
"aos/configuration.h" // for Configuration,
Channel, Node, Application
"aos/events/event_loop.h" // for EventLoop, Fetcher,
PhasedLoopHandler, Sender, TimerHandler
"aos/events/event_loop_generated.h" // for Report
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/ftrace.h" // for Ftrace
"aos/ipc_lib/memory_mapped_queue.h" // for MemoryMappedQueue
"aos/macros.h" // for
DISALLOW_COPY_AND_ASSIGN
"aos/starter/starter_generated.h" // for Status
"aos/starter/starter_rpc_generated.h" // for StarterRpc
"aos/starter/subprocess.h" // for Application,
SignalListener
"aos/util/top.h" // for Top
The full include-list for aos/starter/starterd_lib.cc:
"aos/starter/starterd_lib.h"
<string.h> // for strsignal
<algorithm> // for find
<chrono> // for operator+,
milliseconds
<functional> // for function
<ostream> // for operator<<,
basic_ostream, basic_ostream::operator<<
<set> // for set
<string_view> // for operator<<,
operator==, string_view
<thread> // for thread
<utility> // for pair, move
"aos/events/context.h" // for Context
"aos/json_to_flatbuffer.h" // for FlatbufferToJson
"flatbuffers/buffer.h" // for Offset, AlignOf
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector, VectorIterator
"gflags/gflags.h" // for DECLARE_bool,
DECLARE_string, DECLARE_uint32, DEFINE_uint32
"glog/logging.h" // for LogMessage,
COMPACT_GOOGLE_LOG_INFO, LOG, CHECK, COMPACT_GOOGLE_LOG_FATAL,
CheckNotNull, LogMessageFatal, VLOG, CHECK_NOTNULL,
COMPACT_GOOGLE_LOG_WARNING
The full include-list for aos/starter/mock_starter.h:
<chrono> // for time_point
<map> // for map
<memory> // for unique_ptr
<string> // for string
<vector> // for vector
"aos/configuration_generated.h" // for Node
"aos/events/event_loop.h" // for EventLoop, Sender
"aos/events/simulated_event_loop.h" // for
SimulatedEventLoopFactory
"aos/starter/starter_generated.h" // for Status
"aos/time/time.h" // for monotonic_clock
The full include-list for aos/starter/mock_starter.cc:
"aos/starter/mock_starter.h"
<algorithm> // for max
<ostream> // for operator<<,
basic_ostream
<string_view> // for operator<<,
operator==, string_view
<utility> // for pair
"aos/configuration.h" // for GetNodes,
MultiNode, Application, ApplicationShouldStart,
ChannelIsReadableOnNode, Node, Channel, Configuration
"aos/starter/starter_rpc_generated.h" // for StarterRpc, Command
"aos/starter/starterd_lib.h" // for
StarterRpcChannelForNode
"flatbuffers/buffer.h" // for Offset, AlignOf
"flatbuffers/flatbuffer_builder.h" // for FlatBufferBuilder
"flatbuffers/string.h" // for String
"flatbuffers/vector.h" // for Vector,
VectorIterator
"glog/logging.h" // for CHECK,
COMPACT_GOOGLE_LOG_FATAL, COMPACT_GOOGLE_LOG_INFO, LogMessage,
LogMessageFatal, VLOG
The full include-list for aos/starter/starter_test.cc:
<stdint.h> // for uint64_t
<atomic> // for atomic,
__atomic_base
<chrono> // for operator+, seconds,
milliseconds
<csignal> // for kill, SIGINT
<functional> // for reference_wrapper,
ref
<ostream> // for operator<<
<string> // for allocator, string,
basic_string
<thread> // for thread, sleep_for
"absl/strings/str_format.h" // for StrFormat
"aos/configuration.h" // for MergeWithConfig,
ReadConfig, Configuration, Node
"aos/events/event_loop.h" // for TimerHandler,
EventLoop, EventLoop::MakeWatcher
"aos/events/ping_generated.h" // for Ping
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/flatbuffers.h" // for
FlatbufferDetachedBuffer
"aos/ipc_lib/event.h" // for Event
"aos/ipc_lib/shm_base.h" // for FLAGS_shm_base
"aos/json_to_flatbuffer.h" // for FlatbufferToJson
"aos/network/team_number.h" // for
FLAGS_override_hostname
"aos/starter/starter_generated.h" // for ApplicationStatus,
State, Status
"aos/starter/starter_rpc_generated.h" // for Command
"aos/starter/starter_rpc_lib.h" // for ApplicationCommand,
FindApplicationStatus, StarterClient
"aos/starter/starterd_lib.h" // for Starter
"aos/testing/path.h" // for ArtifactPath
"aos/util/file.h" // for UnlinkRecursive
"aos/util/process_info_generated.h" // for ProcessInfo
"flatbuffers/string.h" // for String
"gflags/gflags.h" // for FlagSaver
"glog/logging.h" // for
COMPACT_GOOGLE_LOG_INFO, LOG, LogMessage
"gtest/gtest.h" // for AssertionResult,
Message, TestPartResult, ASSERT_TRUE, FAIL, TestInfo, Values,
SUCCEED, TEST_F, CmpHelperLE, ASSERT_EQ,
ParameterizedTestSuiteInfo, ParameterizedTestSuiteRegistry,
UnitTest, ValueArray, ASSERT_FALSE, ASSERT_LE, EXPECT_TRUE,
INSTANTIATE_TEST_SUITE_P, TEST_P, Test, WithParamInterface
The full include-list for
aos/starter/subprocess_reliable_test.cc:
<errno.h> // for ECHILD, errno
<signal.h> // for kill, SIGTERM, pid_t
<sys/wait.h> // for waitpid
<chrono> // for operator+,
milliseconds, seconds
<filesystem> // for exists, operator/,
path, create_directory
<memory> // for allocator, unique_ptr,
make_unique, __unique_ptr_t
<ostream> // for
basic_ostream::operator<<, operator<<, basic_ostream
<string> // for char_traits, string
<thread> // for sleep_for
"absl/strings/str_cat.h" // for StrCat
"aos/configuration.h" // for ReadConfig,
Configuration
"aos/events/event_loop.h" // for TimerHandler
"aos/events/shm_event_loop.h" // for ShmEventLoop
"aos/flatbuffers.h" // for
FlatbufferDetachedBuffer
"aos/starter/starter_generated.h" // for State
"aos/starter/subprocess.h" // for Application
"aos/testing/path.h" // for ArtifactPath
"aos/testing/tmpdir.h" // for TestTmpDir
"glog/logging.h" // for ErrnoLogMessage,
COMPACT_GOOGLE_LOG_INFO, LOG, LogMessage, PCHECK, PLOG
"gmock/gmock.h" // for HasSubstr,
MakePredicateFormatterFromMatcher, EXPECT_THAT
"gtest/gtest.h" // for AssertionResult, Test,
Message, TestPartResult, TestInfo, ASSERT_TRUE, TEST,
ASSERT_FALSE, EXPECT_EQ, EXPECT_TRUE, FAIL
The full include-list for aos/starter/irq_affinity_lib.h:
<stddef.h> // for size_t
<string> // for string
<string_view> // for string_view
<vector> // for vector
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I77a20a7b13c17f365068bc285a41a73b132a904e
diff --git a/aos/starter/starter_rpc_lib.h b/aos/starter/starter_rpc_lib.h
index a949928..f94e617 100644
--- a/aos/starter/starter_rpc_lib.h
+++ b/aos/starter/starter_rpc_lib.h
@@ -1,15 +1,23 @@
#ifndef AOS_STARTER_STARTER_RPC_LIB_H_
#define AOS_STARTER_STARTER_RPC_LIB_H_
+#include <stdint.h>
+
#include <chrono>
+#include <functional>
#include <map>
#include <optional>
+#include <string>
+#include <string_view>
+#include <utility>
#include <vector>
#include "aos/configuration.h"
#include "aos/events/event_loop.h"
+#include "aos/flatbuffers.h"
#include "aos/starter/starter_generated.h"
#include "aos/starter/starter_rpc_generated.h"
+#include "aos/time/time.h"
namespace aos::starter {