Home
last modified time | relevance | path

Searched refs:is_return (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/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()
138 if (is_return) in test_nondebug_fs_kuprobe_common()
163 __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_probe()
173 offset, addr, is_return, in test_nondebug_fs_probe()
179 "for name %s, offset 0x%llx, addr 0x%llx, is_return %d\n", 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 in test_debug_fs_uprobe()
120 test_nondebug_fs_kuprobe_common(const char *event_type, const char *name, __u64 offset, __u64 addr, bool is_return, char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, __u64 *probe_addr) test_nondebug_fs_kuprobe_common() argument
162 test_nondebug_fs_probe(const char *event_type, const char *name, __u64 offset, __u64 addr, bool is_return, __u32 expected_fd_type, __u32 expected_ret_fd_type, char *buf, __u32 buf_len) test_nondebug_fs_probe() argument
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dtask_fd_query_user.c124 const char *name, __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_kuprobe_common()
142 if (is_return) in test_nondebug_fs_kuprobe_common()
174 __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_probe()
184 offset, addr, is_return, in test_nondebug_fs_probe()
190 "for name %s, offset 0x%llx, addr 0x%llx, is_return %d\n", 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 in test_debug_fs_uprobe()
123 test_nondebug_fs_kuprobe_common(const char *event_type, const char *name, __u64 offset, __u64 addr, bool is_return, char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, __u64 *probe_offset, __u64 *probe_addr) test_nondebug_fs_kuprobe_common() argument
173 test_nondebug_fs_probe(const char *event_type, const char *name, __u64 offset, __u64 addr, bool is_return, __u32 expected_fd_type, __u32 expected_ret_fd_type, char *buf, __u32 buf_len) test_nondebug_fs_probe() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dkprobe_multi.c39 static void kprobe_multi_check(void *ctx, bool is_return) in kprobe_multi_check() argument
53 if (is_return) { in kprobe_multi_check()
126 static void kprobe_multi_testmod_check(void *ctx, bool is_return) in kprobe_multi_testmod_check() argument
133 if (is_return) { in kprobe_multi_testmod_check()
H A Duprobe_multi.c37 static void uprobe_multi_check(void *ctx, bool is_return, bool is_sleep) in uprobe_multi_check() argument
53 if (is_return) { in uprobe_multi_check()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_fprobe.c371 int nargs, bool is_return) in alloc_trace_fprobe()
384 if (is_return) in alloc_trace_fprobe()
902 char **symbol, bool *is_return, in parse_symbol_and_return()
912 *is_return = true; in parse_symbol_and_return()
923 if (*is_return) in parse_symbol_and_return()
935 *is_return = true; in parse_symbol_and_return()
970 bool is_return = false; in __trace_fprobe_create() local
1027 ret = parse_symbol_and_return(argc, argv, &symbol, &is_return, is_tracepoint); in __trace_fprobe_create()
1031 if (!is_return && maxactive) { in __trace_fprobe_create()
1052 is_return in __trace_fprobe_create()
366 alloc_trace_fprobe(const char *group, const char *event, const char *symbol, struct tracepoint *tpoint, int maxactive, int nargs, bool is_return) alloc_trace_fprobe() argument
901 parse_symbol_and_return(int argc, const char *argv[], char **symbol, bool *is_return, bool is_tracepoint) parse_symbol_and_return() argument
[all...]
H A Dtrace_uprobe.c32 #define SIZEOF_TRACE_ENTRY(is_return) \
34 sizeof(unsigned long) * (is_return ? 2 : 1))
36 #define DATAOF_TRACE_ENTRY(entry, is_return) \
37 ((void*)(entry) + SIZEOF_TRACE_ENTRY(is_return))
542 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()
671 tu = alloc_trace_uprobe(group, event, argc, is_return); in __trace_uprobe_create()
686 .flags = (is_return ? TPARG_FL_RETURN : 0) | TPARG_FL_USER, in __trace_uprobe_create()
1580 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe()
1579 create_local_trace_uprobe(char *name, unsigned long offs, unsigned long ref_ctr_offset, bool is_return) create_local_trace_uprobe() argument
[all...]
H A Dtrace_kprobe.c262 int nargs, bool is_return) in alloc_trace_kprobe()
284 if (is_return) in alloc_trace_kprobe()
771 bool is_return = false; in __trace_kprobe_create() local
786 is_return = true; in __trace_kprobe_create()
803 if (!is_return) { in __trace_kprobe_create()
849 is_return = true; in __trace_kprobe_create()
862 if (is_return) in __trace_kprobe_create()
865 if (ret == 0 && !is_return) in __trace_kprobe_create()
868 if (ret == -EINVAL && is_return) { in __trace_kprobe_create()
911 is_return in __trace_kprobe_create()
256 alloc_trace_kprobe(const char *group, const char *event, void *addr, const char *symbol, unsigned long offs, int maxactive, int nargs, bool is_return) alloc_trace_kprobe() argument
1761 create_local_trace_kprobe(char *func, void *addr, unsigned long offs, bool is_return) create_local_trace_kprobe() argument
[all...]
H A Dtrace_probe.h430 bool is_return);
435 unsigned long ref_ctr_offset, bool is_return);
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_uprobe.c30 #define SIZEOF_TRACE_ENTRY(is_return) \
32 sizeof(unsigned long) * (is_return ? 2 : 1))
34 #define DATAOF_TRACE_ENTRY(entry, is_return) \
35 ((void*)(entry) + SIZEOF_TRACE_ENTRY(is_return))
546 bool is_return = false; in trace_uprobe_create() local
554 is_return = true; in trace_uprobe_create()
630 is_return = true; in trace_uprobe_create()
674 tu = alloc_trace_uprobe(group, event, argc, is_return); in trace_uprobe_create()
696 is_return ? TPARG_FL_RETURN : 0); in trace_uprobe_create()
1588 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe()
1587 create_local_trace_uprobe(char *name, unsigned long offs, unsigned long ref_ctr_offset, bool is_return) create_local_trace_uprobe() argument
[all...]
H A Dtrace_kprobe.c263 int nargs, bool is_return) in alloc_trace_kprobe()
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 in trace_kprobe_create()
257 alloc_trace_kprobe(const char *group, const char *event, void *addr, const char *symbol, unsigned long offs, int maxactive, int nargs, bool is_return) alloc_trace_kprobe() argument
1810 create_local_trace_kprobe(char *func, void *addr, unsigned long offs, bool is_return) create_local_trace_kprobe() 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()
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()
842 __set_print_fmt(struct trace_probe *tp, char *buf, int len, bool is_return) __set_print_fmt() argument

Completed in 15 milliseconds