process_read_write

Function watch_proc

Source
pub fn watch_proc(pid: i32)
Expand description

watch_proc is used to monitor a process and get a real-time list of all the system calls it makes.

§Backend

this function invokes the ptrace syscall on specefic process

§Examples

use process_read_write;

fn main(){
    let pid = 1234;
    process_read_write::watch_proc(pid);
}