Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Diters_task.c12 pid_t target_pid; variable
24 if (cur_task->pid != target_pid) in iter_task_for_each_sleep()
40 if (pos->pid == target_pid) in iter_task_for_each_sleep()
47 if (pos->tgid == target_pid) in iter_task_for_each_sleep()
H A Diters_css_task.c17 pid_t target_pid; variable
30 if (cur_task->pid != target_pid) in BPF_PROG()
42 if (task->pid == target_pid) in BPF_PROG()
78 if (task->pid == target_pid) in cgroup_id_printer()
H A Dread_vsyscall.c9 int target_pid = 0; variable
27 if ((bpf_get_current_pid_tgid() >> 32) != target_pid) in do_probe_read()
45 if ((bpf_get_current_pid_tgid() >> 32) != target_pid) in do_copy_from_user()
H A Dtask_local_storage.c19 pid_t target_pid = 0; variable
31 if (task->pid != target_pid) in BPF_PROG()
52 if (task->pid != target_pid) in BPF_PROG()
H A Dfind_vma.c16 pid_t target_pid = 0; variable
43 if (task->pid != target_pid) in handle_getpid()
59 if (task->pid != target_pid) in handle_pe()
H A Dcgrp_ls_tp_btf.c26 pid_t target_pid = 0; variable
73 if (task->pid != target_pid) in BPF_PROG()
111 if (task->pid != target_pid) in BPF_PROG()
H A Diters_task_vma.c9 pid_t target_pid = 0; variable
24 if (task->pid != target_pid) in iter_task_vma_for_each()
H A Dstrncmp_test.c14 int target_pid = 0; variable
25 if ((bpf_get_current_pid_tgid() >> 32) != target_pid) in do_strncmp()
H A Dread_cgroupfs_xattr.c12 pid_t target_pid = 0; variable
28 if ((bpf_get_current_pid_tgid() >> 32) != target_pid) in BPF_PROG()
H A Dtest_cgroup1_hierarchy.c11 int target_pid, target_hid; variable
29 if (task->pid != target_pid) in bpf_link_create_verify()
H A Diters_css.c12 pid_t target_pid; variable
30 if (cur_task->pid != target_pid) in iter_css_for_each()
H A Drcu_read_lock.c19 __u32 user_data, target_pid; variable
37 if (task->pid != target_pid) in get_cgroup_id()
59 if (task->pid != target_pid) in task_succ()
/linux/samples/damon/
H A Dwsse.c20 static int target_pid __read_mostly;
21 module_param(target_pid, int, 0600);
82 target_pidp = find_get_pid(target_pid); in damon_sample_wsse_start()
H A Dprcl.c19 static int target_pid __read_mostly;
20 module_param(target_pid, int, 0600);
82 target_pidp = find_get_pid(target_pid); in damon_sample_prcl_start()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Diters.c119 skel->bss->target_pid = getpid(); in subtest_task_vma_iters()
125 getpgid(skel->bss->target_pid); in subtest_task_vma_iters()
183 skel->bss->target_pid = getpid(); in subtest_task_iters()
228 skel->bss->target_pid = getpid(); in subtest_css_task_iters()
273 skel->bss->target_pid = getpid(); in subtest_css_iters()
H A Dfind_vma.c88 getpgid(skel->bss->target_pid); in test_find_vma_kprobe()
118 skel->bss->target_pid = getpid(); in serial_test_find_vma()
H A Dread_vsyscall.c44 skel->bss->target_pid = getpid(); in test_read_vsyscall()
H A Dcgroup_xattr.c47 skel->bss->target_pid = sys_gettid(); in test_read_cgroup_xattr()
H A Dtask_local_storage.c34 skel->bss->target_pid = sys_gettid(); in test_sys_enter_exit()
314 skel->bss->target_pid = child_pid; in test_uptr_basic()
323 skel->bss->target_pid = my_tid; in test_uptr_basic()
H A Dtest_strncmp.c63 skel->bss->target_pid = getpid(); in test_strncmp_ret()
H A Dcgroup1_hierarchy.c79 skel->bss->target_pid = getpid(); in test_cgroup1_hierarchy()
H A Dcgroup_iter.c286 skel->bss->target_pid = getpid(); in test_walk_self_only_css_task()
/linux/kernel/
H A Dauditsc.c99 pid_t target_pid[AUDIT_AUX_PIDS]; member
1019 ctx->target_pid = 0; in audit_reset_context()
1753 if (audit_log_pid_context(context, axs->target_pid[i], in audit_log_exit()
1762 if (context->target_pid && in audit_log_exit()
1763 audit_log_pid_context(context, context->target_pid, in audit_log_exit()
2692 context->target_pid = task_tgid_nr(t); in __audit_ptrace()
2718 if (!ctx->target_pid) { in audit_signal_info_syscall()
2719 ctx->target_pid = task_tgid_nr(t); in audit_signal_info_syscall()
2740 axp->target_pid[axp->pid_count] = task_tgid_nr(t); in audit_signal_info_syscall()
H A Daudit.h148 pid_t target_pid; member
/linux/Documentation/admin-guide/mm/damon/
H A Dstart.rst178 --target_pid <pid of your workload>