Home
last modified time | relevance | path

Searched refs:target_pid (Results 1 – 6 of 6) sorted by relevance

/external/libunwind/tests/
Dtest-ptrace.c164 static pid_t target_pid; variable
167 kill (target_pid, SIGKILL); in target_pid_kill()
211 target_pid = fork (); in main()
212 if (!target_pid) in main()
236 ui = _UPT_create (target_pid); in main()
296 ptrace (PTRACE_CONT, target_pid, 0, 0); in main()
298 ptrace (PT_CONTINUE, target_pid, (caddr_t)1, 0); in main()
306 ptrace (PTRACE_SINGLESTEP, target_pid, 0, pending_sig); in main()
308 ptrace (PT_STEP, target_pid, (caddr_t)1, pending_sig); in main()
320 ptrace (PTRACE_SYSCALL, target_pid, 0, pending_sig); in main()
[all …]
/external/perfetto/src/profiling/memory/
Dmain.cc43 int StartChildHeapprofd(pid_t target_pid,
52 pid_t target_pid = base::kInvalidPid; in HeapprofdMain() local
71 if (target_pid != base::kInvalidPid) in HeapprofdMain()
73 target_pid = static_cast<pid_t>(atoi(optarg)); in HeapprofdMain()
106 bool tpid_set = target_pid != base::kInvalidPid; in HeapprofdMain()
117 return StartChildHeapprofd(target_pid, target_cmdline, in HeapprofdMain()
125 int StartChildHeapprofd(pid_t target_pid, in StartChildHeapprofd() argument
131 producer.SetTargetProcess(target_pid, target_cmdline, in StartChildHeapprofd()
Dmalloc_hooks.cc266 pid_t target_pid = getpid(); in CreateClientAndPrivateDaemon() local
268 if (!perfetto::profiling::GetCmdlineForPID(target_pid, &target_cmdline)) { in CreateClientAndPrivateDaemon()
277 std::string("--exclusive-for-pid=") + std::to_string(target_pid); in CreateClientAndPrivateDaemon()
Dheapprofd_producer.h139 void SetTargetProcess(pid_t target_pid,
Dheapprofd_producer.cc159 void HeapprofdProducer::SetTargetProcess(pid_t target_pid, in SetTargetProcess() argument
162 target_process_.pid = target_pid; in SetTargetProcess()
/external/syzkaller/sys/akaros/
Dsys.txt78 provision(target_pid pid[opt], res_type const[RES_CORES], res_val intptr)
79 notify(target_pid pid[opt], ev_type flags[event_type], u_msg ptr[in, event_msg])
83 poke_ksched(target_pid pid[opt], res_type const[0])