Home
last modified time | relevance | path

Searched refs:process_name (Results 1 – 6 of 6) sorted by relevance

/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp41 static void dump_process_header(log_t* log, pid_t pid, const char* process_name) { in dump_process_header() argument
49 if (process_name) { in dump_process_header()
50 _LOG(log, logtype::BACKTRACE, "Cmd line: %s\n", process_name); in dump_process_header()
76 …id dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_name, in dump_backtrace() argument
82 dump_process_header(&log, pid, process_name.c_str()); in dump_backtrace()
122 char process_name[128]; in dump_backtrace_header() local
123 read_with_default("/proc/self/cmdline", process_name, sizeof(process_name), "<unknown>"); in dump_backtrace_header()
124 dump_process_header(&log, getpid(), process_name); in dump_backtrace_header()
Dtombstone.cpp252 static void dump_thread_info(log_t* log, pid_t pid, pid_t tid, const char* process_name, in dump_thread_info() argument
261 process_name); in dump_thread_info()
478 static void dump_thread(log_t* log, pid_t pid, pid_t tid, const std::string& process_name, in dump_thread() argument
485 dump_thread_info(log, pid, tid, process_name.c_str(), thread_name.c_str()); in dump_thread()
641 pid_t tid, const std::string& process_name, in dump_crash() argument
651 dump_thread(log, pid, tid, process_name, threads.find(tid)->second, map, abort_msg_address, true); in dump_crash()
661 dump_thread(log, pid, thread_tid, process_name, thread_name, map, 0, false); in dump_crash()
729 pid_t pid, pid_t tid, const std::string& process_name, in engrave_tombstone() argument
737 dump_crash(&log, map, open_files, pid, tid, process_name, threads, abort_msg_address); in engrave_tombstone()
752 char process_name[128]; in engrave_tombstone_ucontext() local
[all …]
/system/connectivity/wificond/tests/integration/
Dprocess_utils.cpp45 bool IsProcessRunning(const char* process_name) { in IsProcessRunning() argument
47 RunShellCommand(StringPrintf("pgrep -c ^%s$", process_name), &output); in IsProcessRunning()
/system/core/debuggerd/libdebuggerd/include/
Dbacktrace.h33 …id dump_backtrace(int fd, BacktraceMap* map, pid_t pid, pid_t tid, const std::string& process_name,
Dtombstone.h39 pid_t pid, pid_t tid, const std::string& process_name,
/system/core/debuggerd/
Dcrash_dump.cpp314 std::string process_name = get_process_name(main_tid); in main() local
374 … dump_backtrace(output_fd.get(), backtrace_map.get(), target, main_tid, process_name, threads, 0); in main()
377 process_name, threads, abort_address, fatal_signal ? &amfd_data : nullptr); in main()