/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_map_ops.c | 43 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_update() 56 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_delete() 69 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_push() 82 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_pop() 95 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_peek() 111 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_for_each_pass() 129 if (pid != (bpf_get_current_pid_tgid() >> 32)) in map_for_each_fail()
|
H A D | atomics.c | 26 if (pid != (bpf_get_current_pid_tgid() >> 32)) in add() 52 if (pid != (bpf_get_current_pid_tgid() >> 32)) in sub() 76 if (pid != (bpf_get_current_pid_tgid() >> 32)) in and() 97 if (pid != (bpf_get_current_pid_tgid() >> 32)) in or() 117 if (pid != (bpf_get_current_pid_tgid() >> 32)) in xor() 138 if (pid != (bpf_get_current_pid_tgid() >> 32)) in cmpxchg() 159 if (pid != (bpf_get_current_pid_tgid() >> 32)) in xchg()
|
H A D | test_urandom_usdt.c | 16 if (urand_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT() 31 if (urand_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT() 46 if (urand_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT() 61 if (urand_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT()
|
H A D | bpf_loop.c | 70 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_prog() 86 if (bpf_get_current_pid_tgid() >> 32 != pid) in prog_null_ctx() 99 if (bpf_get_current_pid_tgid() >> 32 != pid) in prog_invalid_flags() 112 if (bpf_get_current_pid_tgid() >> 32 != pid) in prog_nested_calls() 141 if (bpf_get_current_pid_tgid() >> 32 != pid) in prog_non_constant_callback() 205 if (bpf_get_current_pid_tgid() >> 32 != pid) in stack_check()
|
H A D | test_varlen.c | 45 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_unsigned() 75 int pid = bpf_get_current_pid_tgid() >> 32; in handler64_signed() 101 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_unsigned() 129 int pid = bpf_get_current_pid_tgid() >> 32; in handler32_signed()
|
H A D | dynptr_success.c | 43 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_read_write() 76 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_dynptr_data() 142 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_ringbuf() 220 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_adjust() 272 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_adjust_err() 329 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_zero_size_dynptr() 379 if (bpf_get_current_pid_tgid() >> 32 != pid) in test_dynptr_is_null()
|
H A D | test_usdt.c | 20 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in usdt0() 43 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in usdt3() 73 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT()
|
H A D | fexit_sleep.c | 17 if (bpf_get_current_pid_tgid() >> 32 != pid) in nanosleep_fentry() 27 if (bpf_get_current_pid_tgid() >> 32 != pid) in nanosleep_fexit()
|
H A D | local_storage.c | 64 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 141 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 187 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 210 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
|
H A D | bpf_syscall_macro.c | 36 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_KPROBE() 71 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_KSYSCALL() 95 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_KSYSCALL()
|
H A D | test_global_map_resize.c | 37 if (pid != (bpf_get_current_pid_tgid() >> 32)) in bss_array_sum() 52 if (pid != (bpf_get_current_pid_tgid() >> 32)) in data_array_sum()
|
H A D | test_legacy_printk.c | 36 cur_pid = bpf_get_current_pid_tgid() >> 32; in handle_legacy() 61 cur_pid = bpf_get_current_pid_tgid() >> 32; in handle_modern()
|
H A D | test_d_path.c | 25 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 46 pid_t pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
|
H A D | test_uprobe_autoattach.c | 94 int pid = bpf_get_current_pid_tgid() >> 32; in BPF_UPROBE() 107 int pid = bpf_get_current_pid_tgid() >> 32; in BPF_URETPROBE()
|
H A D | ima.c | 33 pid = bpf_get_current_pid_tgid() >> 32; in ima_test_common() 59 pid = bpf_get_current_pid_tgid() >> 32; in ima_test_deny()
|
H A D | test_bpf_cookie.c | 25 if (my_tid != (u32)bpf_get_current_pid_tgid()) in update() 115 if (my_tid != (u32)bpf_get_current_pid_tgid()) in BPF_PROG()
|
H A D | test_core_reloc_module.c | 45 __u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_PROG() 79 __u64 pid_tgid = bpf_get_current_pid_tgid(); in BPF_PROG()
|
H A D | kprobe_multi.c | 41 if (bpf_get_current_pid_tgid() >> 32 != pid) in kprobe_multi_check() 128 if (bpf_get_current_pid_tgid() >> 32 != pid) in kprobe_multi_testmod_check()
|
H A D | test_usdt_multispec.c | 21 if (my_pid != (bpf_get_current_pid_tgid() >> 32)) in BPF_USDT()
|
H A D | test_probe_read_user_str.c | 17 if (pid != (bpf_get_current_pid_tgid() >> 32)) in on_write()
|
H A D | lsm.c | 95 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG() 112 __u32 pid = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
|
H A D | test_stack_var_off.c | 21 if ((bpf_get_current_pid_tgid() >> 32) != test_pid) in probe()
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | bperf_follower.bpf.c | 49 filter_key = bpf_get_current_pid_tgid() & 0xffffffff; in BPF_PROG() 52 filter_key = bpf_get_current_pid_tgid() >> 32; in BPF_PROG()
|
H A D | func_latency.bpf.c | 52 key = bpf_get_current_pid_tgid(); in BPF_PROG() 89 tid = bpf_get_current_pid_tgid(); in BPF_PROG()
|
/openbmc/linux/samples/bpf/ |
H A D | map_perf_test.bpf.c | 106 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() 124 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() 141 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL() 158 u32 key = bpf_get_current_pid_tgid(); in BPF_KSYSCALL()
|