add controller command

This commit is contained in:
5ec1cff
2023-11-12 21:00:18 +08:00
parent 040643337d
commit 0ac9bb819b
3 changed files with 22 additions and 17 deletions

View File

@@ -2,3 +2,11 @@
void init_monitor();
bool trace_zygote(int pid);
enum Command {
START = 1,
STOP,
EXIT
};
void send_control_command(Command cmd);