Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/progs/
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()
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()
/Linux-v6.6/kernel/trace/
Dtrace_fprobe.c371 int nargs, bool is_return) in alloc_trace_fprobe() argument
384 if (is_return) in alloc_trace_fprobe()
902 char **symbol, bool *is_return, in parse_symbol_and_return() argument
912 *is_return = true; in parse_symbol_and_return()
923 if (*is_return) in parse_symbol_and_return()
930 *is_return = true; in parse_symbol_and_return()
969 bool is_return = false; in __trace_fprobe_create() local
1026 ret = parse_symbol_and_return(argc, argv, &symbol, &is_return, is_tracepoint); in __trace_fprobe_create()
1030 if (!is_return && maxactive) { in __trace_fprobe_create()
1051 is_return ? "exit" : "entry"); in __trace_fprobe_create()
[all …]
Dtrace_kprobe.c262 int nargs, bool is_return) in alloc_trace_kprobe() argument
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 ? 'r' : 'p', symbol, offset); in __trace_kprobe_create()
[all …]
Dtrace_uprobe.c32 #define SIZEOF_TRACE_ENTRY(is_return) \ argument
34 sizeof(unsigned long) * (is_return ? 2 : 1))
36 #define DATAOF_TRACE_ENTRY(entry, is_return) \ argument
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() argument
[all …]
Dtrace_probe.h430 bool is_return);
435 unsigned long ref_ctr_offset, bool is_return);