MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / checkInterruptedSyscall

Method checkInterruptedSyscall

src/stackFrame_riscv64.cpp:99–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97}
98
99bool StackFrame::checkInterruptedSyscall() {
100 return retval() == (uintptr_t)-EINTR;
101}
102
103bool StackFrame::isSyscall(instruction_t* pc) {
104 // RISC-V ISA uses ECALL for doing both syscalls and debugger

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected