Searched refs:ScopedSignalHandler (Results 1 – 7 of 7) sorted by relevance
/system/core/libmemunreachable/ |
D | ScopedSignalHandler.h | 29 class ScopedSignalHandler { 31 using Fn = std::function<void(ScopedSignalHandler&, int, siginfo_t*, void*)>; 33 ScopedSignalHandler(Allocator<Fn> allocator) : allocator_(allocator), signal_(-1) {} in ScopedSignalHandler() function 34 ~ScopedSignalHandler() { in ~ScopedSignalHandler() 75 DISALLOW_COPY_AND_ASSIGN(ScopedSignalHandler);
|
D | HeapWalker.h | 59 [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { in HeapWalker() 90 void HandleSegFault(ScopedSignalHandler&, int, siginfo_t*, void*); 102 ScopedSignalHandler segv_handler_;
|
D | HeapWalker.cpp | 164 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, void* /*uc… in HandleSegFault() 176 ScopedSignalHandler::SignalFn ScopedSignalHandler::handler_;
|
/system/extras/simpleperf/ |
D | scoped_signal_handler.h | 24 class ScopedSignalHandler { 26 ScopedSignalHandler(const std::vector<int>& signums, void (*handler)(int)) { in ScopedSignalHandler() function 33 ~ScopedSignalHandler() { in ~ScopedSignalHandler()
|
D | workload_test.cpp | 32 ScopedSignalHandler scoped_signal_handler({SIGCHLD}, signal_handler); in TEST() 50 ScopedSignalHandler scoped_signal_handler({SIGCHLD}, signal_handler); in run_signaled_workload() 70 ScopedSignalHandler scoped_signal_handler({SIGCHLD}, signal_handler); in run_exit_nonzero_workload()
|
D | cmd_stat.cpp | 80 new ScopedSignalHandler({SIGCHLD, SIGINT, SIGTERM}, signal_handler)); in StatCommand() 100 std::unique_ptr<ScopedSignalHandler> scoped_signal_handler_;
|
D | cmd_record.cpp | 133 new ScopedSignalHandler({SIGCHLD, SIGINT, SIGTERM}, signal_handler)); in RecordCommand() 186 std::unique_ptr<ScopedSignalHandler> scoped_signal_handler_;
|