4#include <tclap/CmdLine.h>
7#include <cosmos/proc/process.hxx>
13 TCLAP::ValuesConstraint<std::string> m_abi_constraint;
15 std::vector<std::string> getABIs();
19 TCLAP::CmdLine cmdline;
21 TCLAP::ValueArg<std::underlying_type<cosmos::ProcessID>::type>
attach_proc;
TCLAP::SwitchArg list_syscalls
List system call names and their numbers.
TCLAP::ValueArg< std::string > follow_execve
Controls the behaviour upon execve().
TCLAP::SwitchArg list_abis
List supported system call ABIs.
TCLAP::ValueArg< std::string > follow_children
controls the behaviour upon clone()/fork().
TCLAP::SwitchArg print_fd_info
Print additional file descriptor information.
TCLAP::ValueArg< std::string > syscall_filter
Configure system calls which to trace.
TCLAP::SwitchArg no_initial_threads_attach
Don't attach all other threads even if follow_children_switch is set.
TCLAP::SwitchArg follow_threads
controls whether threads within the same process are followed.
TCLAP::SwitchArg follow_children_switch
Short form of 'follow_children yes'.
TCLAP::ValueArg< int > max_value_len
Maximum length of parameter values to print.
TCLAP::SwitchArg verbose
Increase verbosity of tracing output.
TCLAP::ValueArg< std::string > list_abi_syscalls
List ABI-specific system call names and their numbers.
TCLAP::ValueArg< std::underlying_type< cosmos::ProcessID >::type > attach_proc
Already running process to attach to.