19 #ifndef PSTACK_PSTACK_OPTIONS_HPP
20 #define PSTACK_PSTACK_OPTIONS_HPP
30 int main(
int argc,
char const *argv[]);
66 using pid_list = std::set<psystem::process_id_t>;
157 static
void print_usage(const
char *const prog_name) noexcept;
272 friend
int ::
main(
int argc,
char const *argv[]);
278 #endif // PSTACK_PSTACK_OPTIONS_HPP
static bool show_debug() noexcept
Should the user output verbose debug information?
Definition: pstack_options.cpp:197
The full set of options information available to pstack::pstack_options.
Definition: pstack_options.cpp:112
static bool show_error() noexcept
Should the user output errors in the flow of execution?
Definition: pstack_options.cpp:206
int main(int argc, char const *argv[])
The main entry point for the Addr2Ln application.
Definition: addr2ln.cpp:391
static bool search_all_threads() noexcept
Should PStack output stack traces for all threads?
Definition: pstack_options.cpp:179
std::set< psystem::process_id_t > pid_list
The a container for list of user-supplied process IDs.
Definition: pstack_options.hpp:66
Defines the psystem::not_assignable interface.
Definition: shared_handle.hpp:782
static void dump_arguments(pstack_options::options_data const &d) noexcept
Output all the command-line data to stdout.
Definition: pstack_options.cpp:387
std::string tstring
A std::string implementation based on the UNICODE macro.
Definition: platform.hpp:266
Remove the ability to copy or reassign from derived classes.
Definition: not_copyable.hpp:43
Contains modules that make up the PStack stack-printing application.
Definition: debug_event_dumper.hpp:25
void try_pid(char const *arg)
Try to interpret a CLI parameter as a process ID.
Definition: pstack_options.cpp:411
static bool show_frames() noexcept
Should PStack output frame pointers for each stack frame?
Definition: pstack_options.cpp:188
static void print_version_info() noexcept
Output information about the PStack's version to the screen.
Definition: pstack_options.cpp:236
static psystem::tstring const & program_name() noexcept
Access the name this program was invoked with.
Definition: pstack_options.cpp:170
static pid_list const & process_id_list() noexcept
Access the list of process IDs specified on the command-line.
Definition: pstack_options.cpp:161
void try_switch(char arg)
Try to alter the options data based on a single character CLI switch.
Definition: pstack_options.cpp:436
Contains the process examination "system" and basic frameworks.
Definition: pstack_event_handler.hpp:28
static bool get_image_symbols() noexcept
Should PStack search modules on disk for symbols rather than using built-in libraries?
Definition: pstack_options.cpp:152
std::unique_ptr< options_data > m_data
A pointer to the options data (PImpl pattern).
Definition: pstack_options.hpp:259
static bool show_info() noexcept
Should the user output extra informational messaging?
Definition: pstack_options.cpp:215
Parse and maintain options that alter the execution of PStack.
Definition: pstack_options.hpp:58
static void print_usage() noexcept
Print command-line help information to the screen.
Definition: pstack_options.cpp:228
The basic header file for the PStack namespace.
Wraps the C++ standard header, memory, to provide a uniform interface.