Home
last modified time | relevance | path

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

/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 …]
/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.c44 static void uprobe_multi_check(void *ctx, bool is_return, bool is_sleep) in uprobe_multi_check()
68 if (is_return) {
37 uprobe_multi_check(void * ctx,bool is_return,bool is_sleep) uprobe_multi_check() argument
/linux/kernel/trace/
H A Dtrace_fprobe.c576 int nargs, bool is_return, in alloc_trace_fprobe() argument
590 if (is_return) in alloc_trace_fprobe()
1158 char **symbol, bool *is_return, in parse_symbol_and_return() argument
1168 *is_return = true; in parse_symbol_and_return()
1179 if (*is_return) in parse_symbol_and_return()
1206 *is_return = true; in parse_symbol_and_return()
1252 bool is_return = false; in trace_fprobe_create_internal() local
1274 ret = parse_symbol_and_return(argc, argv, &symbol, &is_return, is_tracepoint); in trace_fprobe_create_internal()
1299 is_return ? "exit" : "entry"); in trace_fprobe_create_internal()
1304 if (is_return) in trace_fprobe_create_internal()
[all …]
H A Dtrace_kprobe.c272 int nargs, bool is_return) in alloc_trace_kprobe() argument
294 if (is_return) in alloc_trace_kprobe()
873 bool is_return = false; in trace_kprobe_create_internal() local
881 is_return = true; in trace_kprobe_create_internal()
898 if (!is_return) { in trace_kprobe_create_internal()
945 is_return = true; in trace_kprobe_create_internal()
966 if (is_return) in trace_kprobe_create_internal()
969 if (ret == 0 && !is_return) in trace_kprobe_create_internal()
972 if (ret == -EINVAL && is_return) { in trace_kprobe_create_internal()
996 is_return ? 'r' : 'p', symbol, offset); in trace_kprobe_create_internal()
[all …]
H A Dtrace_uprobe.c35 #define SIZEOF_TRACE_ENTRY(is_return) \ argument
37 sizeof(unsigned long) * (is_return ? 2 : 1))
39 #define DATAOF_TRACE_ENTRY(entry, is_return) \ argument
40 ((void*)(entry) + SIZEOF_TRACE_ENTRY(is_return))
555 bool is_return = false; in DEFINE_FREE() local
562 is_return = true; in DEFINE_FREE()
638 is_return = true; in DEFINE_FREE()
688 tu = alloc_trace_uprobe(group, event, argc, is_return); in DEFINE_FREE()
705 ctx->flags = (is_return ? TPARG_FL_RETURN : 0) | TPARG_FL_USER; in DEFINE_FREE()
1625 unsigned long ref_ctr_offset, bool is_return) in create_local_trace_uprobe() argument
[all …]
H A Dtrace_probe.h472 bool is_return);
477 unsigned long ref_ctr_offset, bool is_return);
H A Dbpf_trace.c2273 bool is_return; member
2535 bool is_return, void *data) in kprobe_multi_link_prog_run() argument
2539 .is_return = is_return, in kprobe_multi_link_prog_run()
3061 bool is_return, void *data) in uprobe_prog_run() argument
3066 .is_return = is_return, in uprobe_prog_run()
3324 return session_ctx->is_return; in bpf_session_is_return()