Home
last modified time | relevance | path

Searched refs:ScopedSignalHandler (Results 1 – 7 of 7) sorted by relevance

/system/core/libmemunreachable/
DScopedSignalHandler.h29 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);
DHeapWalker.h59 [=](ScopedSignalHandler& handler, int signal, siginfo_t* siginfo, void* uctx) { in HeapWalker()
90 void HandleSegFault(ScopedSignalHandler&, int, siginfo_t*, void*);
102 ScopedSignalHandler segv_handler_;
DHeapWalker.cpp164 void HeapWalker::HandleSegFault(ScopedSignalHandler& handler, int signal, siginfo_t* si, void* /*uc… in HandleSegFault()
176 ScopedSignalHandler::SignalFn ScopedSignalHandler::handler_;
/system/extras/simpleperf/
Dscoped_signal_handler.h24 class ScopedSignalHandler {
26 ScopedSignalHandler(const std::vector<int>& signums, void (*handler)(int)) { in ScopedSignalHandler() function
33 ~ScopedSignalHandler() { in ~ScopedSignalHandler()
Dworkload_test.cpp32 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()
Dcmd_stat.cpp80 new ScopedSignalHandler({SIGCHLD, SIGINT, SIGTERM}, signal_handler)); in StatCommand()
100 std::unique_ptr<ScopedSignalHandler> scoped_signal_handler_;
Dcmd_record.cpp133 new ScopedSignalHandler({SIGCHLD, SIGINT, SIGTERM}, signal_handler)); in RecordCommand()
186 std::unique_ptr<ScopedSignalHandler> scoped_signal_handler_;