Lines Matching refs:process_state
787 void PrintProcessState(const ProcessState& process_state, in PrintProcessState() argument
791 string cpu = process_state.system_info()->cpu; in PrintProcessState()
792 string cpu_info = process_state.system_info()->cpu_info; in PrintProcessState()
793 printf("Operating system: %s\n", process_state.system_info()->os.c_str()); in PrintProcessState()
795 process_state.system_info()->os_version.c_str()); in PrintProcessState()
802 process_state.system_info()->cpu_count, in PrintProcessState()
803 process_state.system_info()->cpu_count != 1 ? "s" : ""); in PrintProcessState()
807 if (process_state.crashed()) { in PrintProcessState()
808 printf("Crash reason: %s\n", process_state.crash_reason().c_str()); in PrintProcessState()
809 printf("Crash address: 0x%" PRIx64 "\n", process_state.crash_address()); in PrintProcessState()
814 string assertion = process_state.assertion(); in PrintProcessState()
821 if (process_state.time_date_stamp() != 0 && in PrintProcessState()
822 process_state.process_create_time() != 0 && in PrintProcessState()
823 process_state.time_date_stamp() >= process_state.process_create_time()) { in PrintProcessState()
825 process_state.time_date_stamp() - in PrintProcessState()
826 process_state.process_create_time()); in PrintProcessState()
832 int requesting_thread = process_state.requesting_thread(); in PrintProcessState()
837 process_state.crashed() ? "crashed" : in PrintProcessState()
839 PrintStack(process_state.threads()->at(requesting_thread), cpu, in PrintProcessState()
841 process_state.thread_memory_regions()->at(requesting_thread), in PrintProcessState()
842 process_state.modules(), resolver); in PrintProcessState()
846 int thread_count = process_state.threads()->size(); in PrintProcessState()
852 PrintStack(process_state.threads()->at(thread_index), cpu, in PrintProcessState()
854 process_state.thread_memory_regions()->at(thread_index), in PrintProcessState()
855 process_state.modules(), resolver); in PrintProcessState()
859 PrintModules(process_state.modules(), in PrintProcessState()
860 process_state.modules_without_symbols(), in PrintProcessState()
861 process_state.modules_with_corrupt_symbols()); in PrintProcessState()
864 void PrintProcessStateMachineReadable(const ProcessState& process_state) { in PrintProcessStateMachineReadable() argument
869 StripSeparator(process_state.system_info()->os).c_str(), in PrintProcessStateMachineReadable()
871 StripSeparator(process_state.system_info()->os_version).c_str()); in PrintProcessStateMachineReadable()
873 StripSeparator(process_state.system_info()->cpu).c_str(), in PrintProcessStateMachineReadable()
876 StripSeparator(process_state.system_info()->cpu_info).c_str(), in PrintProcessStateMachineReadable()
878 process_state.system_info()->cpu_count); in PrintProcessStateMachineReadable()
880 int requesting_thread = process_state.requesting_thread(); in PrintProcessStateMachineReadable()
885 if (process_state.crashed()) { in PrintProcessStateMachineReadable()
887 StripSeparator(process_state.crash_reason()).c_str(), in PrintProcessStateMachineReadable()
888 kOutputSeparator, process_state.crash_address(), kOutputSeparator); in PrintProcessStateMachineReadable()
892 string assertion = process_state.assertion(); in PrintProcessStateMachineReadable()
907 PrintModulesMachineReadable(process_state.modules()); in PrintProcessStateMachineReadable()
915 process_state.threads()->at(requesting_thread)); in PrintProcessStateMachineReadable()
919 int thread_count = process_state.threads()->size(); in PrintProcessStateMachineReadable()
924 process_state.threads()->at(thread_index)); in PrintProcessStateMachineReadable()