Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/samples/bpf/
H A 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 …]
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_kprobe.c263 int nargs, bool is_return) in alloc_trace_kprobe() argument
285 if (is_return) in alloc_trace_kprobe()
746 bool is_return = false; in trace_kprobe_create() local
757 is_return = true; in trace_kprobe_create()
774 if (!is_return) { in trace_kprobe_create()
820 is_return = true; in trace_kprobe_create()
833 if (is_return) in trace_kprobe_create()
839 if (ret == -EINVAL && is_return) { in trace_kprobe_create()
855 is_return ? 'r' : 'p', symbol, offset); in trace_kprobe_create()
858 is_return ? 'r' : 'p', addr); in trace_kprobe_create()
[all …]
H A 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))
545 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()
695 is_return ? TPARG_FL_RETURN : 0); in trace_uprobe_create()
1586 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe() argument
[all …]
H A 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);
H A Dtrace_probe.c843 bool is_return) in __set_print_fmt() argument
850 if (!is_return) { in __set_print_fmt()
904 int traceprobe_set_print_fmt(struct trace_probe *tp, bool is_return) in traceprobe_set_print_fmt() argument
911 len = __set_print_fmt(tp, NULL, 0, is_return); in traceprobe_set_print_fmt()
917 __set_print_fmt(tp, print_fmt, len + 1, is_return); in traceprobe_set_print_fmt()