Home
last modified time | relevance | path

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

/Linux-v5.4/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.4/kernel/trace/
Dtrace_kprobe.c262 int nargs, bool is_return) in alloc_trace_kprobe() argument
284 if (is_return) in alloc_trace_kprobe()
717 bool is_return = false; in trace_kprobe_create() local
728 is_return = true; in trace_kprobe_create()
746 if (!is_return) { in trace_kprobe_create()
795 if (offset && is_return && !(flags & TPARG_FL_FENTRY)) { in trace_kprobe_create()
811 is_return ? 'r' : 'p', symbol, offset); in trace_kprobe_create()
814 is_return ? 'r' : 'p', addr); in trace_kprobe_create()
821 argc - 2, is_return); in trace_kprobe_create()
845 ret = traceprobe_set_print_fmt(&tk->tp, is_return); 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))
548 bool is_return = false; in trace_uprobe_create() local
556 is_return = true; in trace_uprobe_create()
663 tu = alloc_trace_uprobe(group, event, argc, is_return); in trace_uprobe_create()
685 is_return ? TPARG_FL_RETURN : 0); in trace_uprobe_create()
1536 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe() argument
1557 is_return); in create_local_trace_uprobe()
Dtrace_probe.h371 extern int traceprobe_set_print_fmt(struct trace_probe *tp, bool is_return);
376 bool is_return);
381 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()
901 int traceprobe_set_print_fmt(struct trace_probe *tp, bool is_return) in traceprobe_set_print_fmt() argument
908 len = __set_print_fmt(tp, NULL, 0, is_return); in traceprobe_set_print_fmt()
914 __set_print_fmt(tp, print_fmt, len + 1, is_return); in traceprobe_set_print_fmt()