class LinuxTaskObserver

Defined at line 17 of file ../../src/developer/debug/debug_agent/linux_task_observer.h

These callbacks correspond to the results of waitpid(). See that man page for more.

Public Methods

void OnExited (LinuxTask * task, std::unique_ptr<LinuxExceptionHandle> exception)

The "exit" message means a thread is exiting. On LInux, since threads and processes are

basically the same thing, this also indicates process exit when it's the main thread.

void OnProcessStarting (std::unique_ptr<LinuxExceptionHandle> exception)

Indicates a fork. The exception handle will refer to the *new* process.

void OnThreadStarting (std::unique_ptr<LinuxExceptionHandle> exception)
void OnTermSignal (int pid, int signal_number)
void OnStopSignal (LinuxTask * task, std::unique_ptr<LinuxExceptionHandle> exception)
void OnContinued (int pid)