Home
last modified time | relevance | path

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

/developtools/profiler/hiebpf/src/
Dhiebpf.bpf.c392 int32_t target_pids[MAX_TARGET_PIDS + 1]; in check_current_pid() local
393 __builtin_memset(target_pids, 0, sizeof(target_pids)); in check_current_pid()
399 …int err = bpf_probe_read_kernel(target_pids, sizeof(int32_t) * (MAX_TARGET_PIDS + 1), target_pids_… in check_current_pid()
404 if (target_pids[trace_all_index] != 0) { in check_current_pid()
408 if (target_pids[index] < 0) { in check_current_pid()
411 if (target_pids[index] == curr_pid || target_pids[index] == curr_tgid) { in check_current_pid()