Home
last modified time | relevance | path

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

/openbmc/linux/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() 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 …]
/openbmc/linux/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()
/openbmc/linux/kernel/trace/
H A Dtrace_fprobe.c389 int nargs, bool is_return) in alloc_trace_fprobe() argument
402 if (is_return) in alloc_trace_fprobe()
920 char **symbol, bool *is_return, in parse_symbol_and_return() argument
930 *is_return = true; in parse_symbol_and_return()
941 if (*is_return) in parse_symbol_and_return()
955 *is_return = true; in parse_symbol_and_return()
990 bool is_return = false; in __trace_fprobe_create()
1047 ret = parse_symbol_and_return(argc, argv, &symbol, &is_return, is_tracepoint); in __trace_fprobe_create()
1051 if (!is_return && maxactive) { in __trace_fprobe_create()
1072 is_return in __trace_fprobe_create()
988 bool is_return = false; __trace_fprobe_create() local
[all...]
H A Dtrace_kprobe.c262 int nargs, bool is_return) in alloc_trace_kprobe() argument
284 if (is_return) in alloc_trace_kprobe()
774 bool is_return = false; in __trace_kprobe_create() local
789 is_return = true; in __trace_kprobe_create()
806 if (!is_return) { in __trace_kprobe_create()
852 is_return = true; in __trace_kprobe_create()
865 if (is_return) in __trace_kprobe_create()
868 if (ret == 0 && !is_return) in __trace_kprobe_create()
871 if (ret == -EINVAL && is_return) { in __trace_kprobe_create()
914 is_return ? 'r' : 'p', symbol, offset); in __trace_kprobe_create()
[all …]
H A 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()
627 is_return = true; in __trace_uprobe_create()
673 tu = alloc_trace_uprobe(group, event, argc, is_return); in __trace_uprobe_create()
688 .flags = (is_return ? TPARG_FL_RETURN : 0) | TPARG_FL_USER, in __trace_uprobe_create()
1604 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe() argument
[all …]
H A Dtrace_probe.h455 bool is_return);
460 unsigned long ref_ctr_offset, bool is_return);