Home
last modified time | relevance | path

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

/linux-5.19.10/samples/bpf/
Dtask_fd_query_user.c124 const char *name, __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_kuprobe_common() argument
142 if (is_return) in test_nondebug_fs_kuprobe_common()
174 __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_probe() argument
184 offset, addr, is_return, in test_nondebug_fs_probe()
191 __func__, name ? name : "", offset, addr, is_return); in test_nondebug_fs_probe()
195 if ((is_return && fd_type != expected_ret_fd_type) || in test_nondebug_fs_probe()
196 (!is_return && fd_type != expected_fd_type)) { in test_nondebug_fs_probe()
227 static int test_debug_fs_uprobe(char *binary_path, long offset, bool is_return) in test_debug_fs_uprobe() argument
247 is_return ? 'r' : 'p', event_type, event_alias, in test_debug_fs_uprobe()
288 if ((is_return && fd_type != BPF_FD_TYPE_URETPROBE) || in test_debug_fs_uprobe()
[all …]
/linux-5.19.10/tools/testing/selftests/bpf/progs/
Dkprobe_multi.c41 static void kprobe_multi_check(void *ctx, bool is_return) in kprobe_multi_check() argument
55 if (is_return) { in kprobe_multi_check()
/linux-5.19.10/kernel/trace/
Dtrace_kprobe.c260 int nargs, bool is_return) in alloc_trace_kprobe() argument
282 if (is_return) in alloc_trace_kprobe()
734 bool is_return = false; in __trace_kprobe_create() local
746 is_return = true; in __trace_kprobe_create()
763 if (!is_return) { in __trace_kprobe_create()
809 is_return = true; in __trace_kprobe_create()
822 if (is_return) in __trace_kprobe_create()
828 if (ret == -EINVAL && is_return) { in __trace_kprobe_create()
844 is_return ? 'r' : 'p', symbol, offset); in __trace_kprobe_create()
847 is_return ? 'r' : 'p', addr); in __trace_kprobe_create()
[all …]
Dtrace_uprobe.c31 #define SIZEOF_TRACE_ENTRY(is_return) \ argument
33 sizeof(unsigned long) * (is_return ? 2 : 1))
35 #define DATAOF_TRACE_ENTRY(entry, is_return) \ argument
36 ((void*)(entry) + SIZEOF_TRACE_ENTRY(is_return))
546 bool is_return = false; in __trace_uprobe_create() local
553 is_return = true; in __trace_uprobe_create()
629 is_return = true; in __trace_uprobe_create()
673 tu = alloc_trace_uprobe(group, event, argc, is_return); in __trace_uprobe_create()
689 is_return ? TPARG_FL_RETURN : 0); in __trace_uprobe_create()
1577 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe() argument
[all …]
Dtrace_probe.h379 bool is_return);
384 unsigned long ref_ctr_offset, bool is_return);