/base/startup/init/services/init/standard/ |
D | init_signal_handler.c | 27 static void ProcessSignal(const struct signalfd_siginfo *siginfo) in ProcessSignal() argument 29 switch (siginfo->ssi_signo) { in ProcessSignal() 53 sigPID, siginfo->ssi_uid, procStat); in ProcessSignal() 67 INIT_LOGI("SigHandler, unsupported signal %d.", siginfo->ssi_signo); in ProcessSignal()
|
/base/hiviewdfx/hiview/plugins/faultlogger/interfaces/cpp/innerkits/ |
D | signal_info.cpp | 24 void SignalInfo::FormatSignalInfo(std::stringstream &ss, const siginfo_t &siginfo) in FormatSignalInfo() argument 26 int32_t signo = siginfo.si_signo; in FormatSignalInfo() 27 int32_t code = siginfo.si_code; in FormatSignalInfo() 30 …ss << "@" << std::setw(8) << std::setfill('0') << std::hex << siginfo.si_addr << " "; // 8 : bit w… in FormatSignalInfo() 33 if (SI_FROMUSER(&siginfo) && (siginfo.si_pid != 0)) { in FormatSignalInfo() 34 ss << "form:" << std::to_string(siginfo.si_pid) << ":" << std::to_string(siginfo.si_uid); in FormatSignalInfo()
|
D | signal_info.h | 24 static void FormatSignalInfo(std::stringstream &ss, const siginfo_t &siginfo);
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | cppcrash_reporter.h | 32 CppCrashReporter(uint64_t time, siginfo_t siginfo, std::shared_ptr<DfxProcess> process) \ in CppCrashReporter() argument 33 : time_(time), siginfo_(siginfo), process_(process) in CppCrashReporter()
|
D | dfx_dump_request.h | 63 void SetSiginfo(const siginfo_t &siginfo); 97 siginfo_t siginfo; member
|
D | dfx_dump_request.cpp | 136 void ProcessDumpRequest::SetSiginfo(const siginfo_t &siginfo) in SetSiginfo() argument 138 siginfo_ = siginfo; in SetSiginfo()
|
/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
D | app_spawn_standard_test.cpp | 49 void SignalHandler(const struct signalfd_siginfo *siginfo); 353 struct signalfd_siginfo siginfo = {}; variable 354 siginfo.ssi_signo = SIGCHLD; 355 siginfo.ssi_pid = 111; // 111 is pid 356 SignalHandler(&siginfo); 358 siginfo.ssi_signo = SIGTERM; 359 siginfo.ssi_pid = 111; // 111 is pid 360 SignalHandler(&siginfo); 362 siginfo.ssi_signo = 0; 363 siginfo.ssi_pid = 111; // 111 is pid [all …]
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/include/ |
D | dfx_signal_handler.h | 35 siginfo_t siginfo; member
|
/base/startup/init/test/unittest/init/ |
D | SignalInitUnitTest.cpp | 30 static void ProcessSignal(const struct signalfd_siginfo *siginfo) in ProcessSignal() argument
|
/base/startup/appspawn/standard/ |
D | appspawn_service.c | 195 APPSPAWN_STATIC void SignalHandler(const struct signalfd_siginfo *siginfo) in SignalHandler() argument 197 APPSPAWN_LOGI("SignalHandler signum %d", siginfo->ssi_signo); in SignalHandler() 198 switch (siginfo->ssi_signo) { in SignalHandler() 204 HandleDiedPid(pid, siginfo->ssi_uid, status); in SignalHandler() 207 HandleDiedPid(siginfo->ssi_pid, siginfo->ssi_uid, 0); in SignalHandler() 219 APPSPAWN_LOGI("SigHandler, unsupported signal %d.", siginfo->ssi_signo); in SignalHandler()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
D | dfx_signal_local_handler.c | 90 int ret = memcpy_s(&(g_request.siginfo), sizeof(siginfo_t), si, sizeof(siginfo_t)); in DFX_SignalHandler()
|
D | dfx_crash_local_handler.c | 214 PrintLog(fd, "Reason:Signal(%d)\n", request->siginfo.si_signo); in CrashLocalHandlerFd()
|
D | dfx_signal_handler.c | 504 memcpy(&(g_request.siginfo), si, sizeof(siginfo_t)); in DFX_SignalHandler()
|
/base/startup/init/services/loopevent/include/ |
D | loop_event.h | 162 typedef void (*LE_ProcessSignal)(const struct signalfd_siginfo *siginfo);
|