Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dtask_fd_query_user.c121 const char *name, __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_kuprobe_common() argument
138 if (is_return) in test_nondebug_fs_kuprobe_common()
163 __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_probe() argument
173 offset, addr, is_return, in test_nondebug_fs_probe()
180 __func__, name ? name : "", offset, addr, is_return); in test_nondebug_fs_probe()
184 if ((is_return && fd_type != expected_ret_fd_type) || in test_nondebug_fs_probe()
185 (!is_return && fd_type != expected_fd_type)) { in test_nondebug_fs_probe()
216 static int test_debug_fs_uprobe(char *binary_path, long offset, bool is_return) in test_debug_fs_uprobe() argument
235 is_return ? 'r' : 'p', event_type, event_alias, in test_debug_fs_uprobe()
271 if ((is_return && fd_type != BPF_FD_TYPE_URETPROBE) || in test_debug_fs_uprobe()
[all …]
/Linux-v5.10/kernel/trace/
Dtrace_kprobe.c262 int nargs, bool is_return) in alloc_trace_kprobe() argument
284 if (is_return) in alloc_trace_kprobe()
741 bool is_return = false; in trace_kprobe_create() local
752 is_return = true; in trace_kprobe_create()
769 if (!is_return) { in trace_kprobe_create()
815 is_return = true; in trace_kprobe_create()
828 if (is_return) in trace_kprobe_create()
832 if (offset && is_return && !(flags & TPARG_FL_FENTRY)) { in trace_kprobe_create()
848 is_return ? 'r' : 'p', symbol, offset); in trace_kprobe_create()
851 is_return ? 'r' : 'p', addr); in trace_kprobe_create()
[all …]
Dtrace_uprobe.c30 #define SIZEOF_TRACE_ENTRY(is_return) \ argument
32 sizeof(unsigned long) * (is_return ? 2 : 1))
34 #define DATAOF_TRACE_ENTRY(entry, is_return) \ argument
35 ((void*)(entry) + SIZEOF_TRACE_ENTRY(is_return))
541 bool is_return = false; in trace_uprobe_create() local
549 is_return = true; in trace_uprobe_create()
625 is_return = true; in trace_uprobe_create()
669 tu = alloc_trace_uprobe(group, event, argc, is_return); in trace_uprobe_create()
691 is_return ? TPARG_FL_RETURN : 0); in trace_uprobe_create()
1581 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe() argument
[all …]
Dtrace_probe.h365 extern int traceprobe_set_print_fmt(struct trace_probe *tp, bool is_return);
370 bool is_return);
375 unsigned long ref_ctr_offset, bool is_return);
Dtrace_probe.c842 bool is_return) in __set_print_fmt() argument
849 if (!is_return) { in __set_print_fmt()
903 int traceprobe_set_print_fmt(struct trace_probe *tp, bool is_return) in traceprobe_set_print_fmt() argument
910 len = __set_print_fmt(tp, NULL, 0, is_return); in traceprobe_set_print_fmt()
916 __set_print_fmt(tp, print_fmt, len + 1, is_return); in traceprobe_set_print_fmt()