1 // Copyright 2006 The Android Open Source Project 2 3 #ifndef PARSE_OPTIONS_H 4 #define PARSE_OPTIONS_H 5 6 #include "bitvector.h" 7 #include "hash_table.h" 8 9 extern const char *root; 10 extern bool lump_kernel; 11 extern bool lump_libraries; 12 extern Bitvector pid_include_vector; 13 extern Bitvector pid_exclude_vector; 14 extern bool include_some_pids; 15 extern bool exclude_some_pids; 16 17 extern HashTable<int> excluded_procedures; 18 extern HashTable<int> included_procedures; 19 extern bool exclude_some_procedures; 20 extern bool include_some_procedures; 21 22 extern bool exclude_kernel_syms; 23 extern bool exclude_library_syms; 24 extern bool include_kernel_syms; 25 extern bool include_library_syms; 26 extern bool demangle; 27 28 extern void Usage(const char *program); 29 extern void ParseOptions(int argc, char **argv); 30 extern void OptionsUsage(); 31 32 #endif // PARSE_OPTIONS_H 33