/system/core/debuggerd/tombstoned/ |
D | intercept_manager.cpp | 51 LOG(WARNING) << "intercept for pid " << intercept->pid << " and type " << intercept->dump_type in intercept_close_cb() 57 LOG(INFO) << "intercept for pid " << intercept->pid << " and type " << intercept->dump_type in intercept_close_cb() 68 auto dump_type_entry = dump_type_hash.find(intercept->dump_type); in Unregister() 70 LOG(FATAL) << "Unknown intercept " << intercept->pid << " " << intercept->dump_type; in Unregister() 74 << intercept->dump_type; in Unregister() 137 intercept->dump_type = intercept_request.dump_type; in intercept_request_cb() 142 << intercept_request.dump_type; in intercept_request_cb() 182 static DebuggerdDumpType canonical_dump_type(const DebuggerdDumpType dump_type) { in canonical_dump_type() argument 185 if (dump_type == kDebuggerdTombstoneProto) { in canonical_dump_type() 188 return dump_type; in canonical_dump_type() [all …]
|
D | tombstoned_client.cpp | 36 DebuggerdDumpType dump_type) { in tombstoned_connect() argument 37 return tombstoned_connect(pid, tombstoned_socket, text_output_fd, nullptr, dump_type); in tombstoned_connect() 41 unique_fd* proto_output_fd, DebuggerdDumpType dump_type) { in tombstoned_connect() argument 43 socket_local_client((dump_type != kDebuggerdJavaBacktrace ? kTombstonedCrashSocketName in tombstoned_connect() 55 packet.packet.dump_request.dump_type = dump_type; in tombstoned_connect() 65 if (dump_type == kDebuggerdTombstoneProto) { in tombstoned_connect()
|
D | intercept_manager.h | 44 DebuggerdDumpType dump_type = kDebuggerdNativeBacktrace; member 57 Intercept* Get(const pid_t pid, const DebuggerdDumpType dump_type); 61 bool FindIntercept(pid_t pid, DebuggerdDumpType dump_type, android::base::unique_fd* out_fd);
|
D | tombstoned.cpp | 164 std::optional<CrashOutput> get_output(DebuggerdDumpType dump_type) { in get_output() argument 167 switch (dump_type) { in get_output() 187 LOG(ERROR) << "unexpected dump type: " << dump_type; in get_output() 378 crash->crash_type = request.packet.dump_request.dump_type; in crash_request_cb()
|
/system/core/debuggerd/ |
D | tombstone_handler.cpp | 42 DebuggerdDumpType dump_type) { in connect_tombstone_server_microdroid() argument 51 switch (dump_type) { in connect_tombstone_server_microdroid() 58 LOG(WARNING) << "Requested dump type: " << dump_type << " " in connect_tombstone_server_microdroid() 82 if (dump_type == kDebuggerdTombstoneProto) { in connect_tombstone_server_microdroid() 101 unique_fd* proto_output_fd, DebuggerdDumpType dump_type) { in connect_tombstone_server() argument 103 return connect_tombstone_server_microdroid(text_output_fd, proto_output_fd, dump_type); in connect_tombstone_server() 105 return tombstoned_connect(pid, tombstoned_socket, text_output_fd, proto_output_fd, dump_type); in connect_tombstone_server()
|
D | debuggerd.cpp | 48 DebuggerdDumpType dump_type = kDebuggerdTombstone; in main() local 53 dump_type = kDebuggerdNativeBacktrace; in main() 55 dump_type = kDebuggerdJavaBacktrace; in main() 107 if (!debuggerd_trigger_dump(proc_info.pid, dump_type, 0, std::move(output_fd))) { in main()
|
D | protocol.h | 48 DebuggerdDumpType dump_type; member 63 DebuggerdDumpType dump_type; member
|
D | tombstone_handler.h | 23 DebuggerdDumpType dump_type);
|
D | crash_dump.cpp | 267 static void ParseArgs(int argc, char** argv, pid_t* pseudothread_tid, DebuggerdDumpType* dump_type)… in ParseArgs() argument 285 *dump_type = static_cast<DebuggerdDumpType>(dump_type_int); in ParseArgs() 286 switch (*dump_type) { in ParseArgs() 585 DebuggerdDumpType dump_type; in main() local 589 ParseArgs(argc, argv, &pseudothread_tid, &dump_type); in main() 732 LOG(INFO) << "obtaining output fd from tombstoned, type: " << dump_type; in main() 734 &g_output_fd, &g_proto_fd, dump_type); in main()
|
D | debuggerd_test.cpp | 127 .dump_type = intercept_type, in tombstoned_intercept() 1585 __attribute__((__noinline__)) extern "C" bool raise_debugger_signal(DebuggerdDumpType dump_type) { in raise_debugger_signal() argument 1591 if (dump_type != kDebuggerdNativeBacktrace && dump_type != kDebuggerdTombstone) { in raise_debugger_signal() 1595 siginfo.si_value.sival_int = dump_type == kDebuggerdNativeBacktrace; in raise_debugger_signal() 1619 static const auto dump_type = kDebuggerdTombstone; in TEST_F() local 1627 raise_debugger_signal(dump_type); in TEST_F() 1632 StartIntercept(&output_fd, dump_type); in TEST_F() 1649 static const auto dump_type = kDebuggerdTombstone; in TEST_F() local 1657 StartIntercept(&output_fd, dump_type); in TEST_F() 1675 static const auto dump_type = kDebuggerdTombstone; in TEST_F() local [all …]
|
/system/core/debuggerd/include/debuggerd/ |
D | client.h | 29 bool debuggerd_trigger_dump(pid_t tid, enum DebuggerdDumpType dump_type, unsigned int timeout_ms, 32 int dump_backtrace_to_file(pid_t tid, enum DebuggerdDumpType dump_type, int output_fd); 33 int dump_backtrace_to_file_timeout(pid_t tid, enum DebuggerdDumpType dump_type, int timeout_secs,
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 117 bool debuggerd_trigger_dump(pid_t tid, DebuggerdDumpType dump_type, unsigned int timeout_ms, in debuggerd_trigger_dump() argument 119 if (dump_type == kDebuggerdJavaBacktrace) { in debuggerd_trigger_dump() 173 .dump_type = dump_type, in debuggerd_trigger_dump() 235 const int signal = (dump_type == kDebuggerdJavaBacktrace) ? SIGQUIT : BIONIC_SIGNAL_DEBUGGER; in debuggerd_trigger_dump() 236 sigval val = {.sival_int = (dump_type == kDebuggerdNativeBacktrace) ? 1 : 0}; in debuggerd_trigger_dump() 306 int dump_backtrace_to_file(pid_t tid, DebuggerdDumpType dump_type, int fd) { in dump_backtrace_to_file() argument 307 return dump_backtrace_to_file_timeout(tid, dump_type, 0, fd); in dump_backtrace_to_file() 310 int dump_backtrace_to_file_timeout(pid_t tid, DebuggerdDumpType dump_type, int timeout_secs, in dump_backtrace_to_file_timeout() argument 322 int ret = debuggerd_trigger_dump(tid, dump_type, timeout_ms, std::move(copy)) ? 0 : -1; in dump_backtrace_to_file_timeout()
|
/system/core/debuggerd/common/include/ |
D | dump_type.h | 31 inline const char* get_dump_type_name(const DebuggerdDumpType& dump_type) { in get_dump_type_name() argument 32 switch (dump_type) { in get_dump_type_name()
|
/system/core/debuggerd/tombstoned/include/tombstoned/ |
D | tombstoned.h | 27 android::base::unique_fd* proto_output_fd, DebuggerdDumpType dump_type); 30 android::base::unique_fd* text_output_fd, DebuggerdDumpType dump_type);
|
/system/core/debuggerd/rust/tombstoned_client/ |
D | wrapper.cpp | 26 int& proto_output_fd, DebuggerdDumpType dump_type) { in tombstoned_connect_files() argument 30 &proto_output_unique, dump_type); in tombstoned_connect_files()
|
D | wrapper.hpp | 23 int& proto_output_fd, DebuggerdDumpType dump_type);
|
/system/core/debuggerd/rust/tombstoned_client/src/ |
D | lib.rs | 69 pub fn connect(pid: i32, dump_type: DebuggerdDumpType) -> Result<Self, Error> { in connect() 78 dump_type, in connect() 129 dump_type: DebuggerdDumpType, in tombstoned_connect_files()
|
/system/extras/pinner/ |
D | pin_utils.cpp | 213 void PinTool::dump_coverages(PinTool::DumpType dump_type) { in dump_coverages() argument 215 if (dump_type == PinTool::DumpType::FILTERED) { in dump_coverages() 217 } else if (dump_type == PinTool::DumpType::FILE_COVERAGE) { in dump_coverages() 245 if (dump_type != DumpType::PROBE) { in dump_coverages() 263 if (dump_type == DumpType::PROBE) { in dump_coverages()
|