| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | attach_probe.c | 75 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_manual() 98 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_manual() 148 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_auto() 304 ssize_t uprobe_offset, ref_ctr_offset; in test_attach_probe() 310 ref_ctr_offset = get_rel_offset((uintptr_t)&uprobe_ref_ctr); in test_attach_probe() 311 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_attach_probe() 317 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_attach_probe() 331 uprobe_opts.ref_ctr_offset 199 ssize_t uprobe_offset, ref_ctr_offset; test_uprobe_ref_ctr() local [all...] |
| H A D | uprobe_syscall.c | 688 opts.ref_ctr_offset = *ref; in worker_attach()
|
| /linux/kernel/trace/ |
| H A D | trace_uprobe.c | 67 unsigned long ref_ctr_offset; member 294 if (tu->ref_ctr_offset == 0) in trace_uprobe_match_command_head() 300 tu->ref_ctr_offset); in trace_uprobe_match_command_head() 489 new->ref_ctr_offset != tmp->ref_ctr_offset) { in validate_ref_ctr_offset() 549 unsigned long offset, ref_ctr_offset; in DEFINE_FREE() local 558 ref_ctr_offset = 0; in DEFINE_FREE() 626 ret = kstrtoul(rctr, 0, &ref_ctr_offset); in DEFINE_FREE() 696 tu->ref_ctr_offset = ref_ctr_offset; in DEFINE_FREE() 761 if (tu->ref_ctr_offset) in trace_uprobe_show() 762 seq_printf(m, "(0x%lx)", tu->ref_ctr_offset); in trace_uprobe_show() [all …]
|
| H A D | trace_probe.h | 477 unsigned long ref_ctr_offset, bool is_return);
|
| H A D | bpf_trace.c | 2889 unsigned long ref_ctr_offset; member 2998 put_user(umulti_link->uprobes[i].ref_ctr_offset, uref_ctr_offsets + i)) in bpf_uprobe_multi_link_fill_link_info() 3036 seq_printf(seq, "%s\t %s\t %s\n", "cookie", "offset", "ref_ctr_offset"); in bpf_uprobe_multi_show_fdinfo() 3042 umulti_link->uprobes[i].ref_ctr_offset); in bpf_uprobe_multi_show_fdinfo() 3242 if (uref_ctr_offsets && __get_user(uprobes[i].ref_ctr_offset, uref_ctr_offsets + i)) { in bpf_uprobe_multi_link_attach() 3275 uprobes[i].ref_ctr_offset, in bpf_uprobe_multi_link_attach()
|
| /linux/kernel/events/ |
| H A D | uprobes.c | 75 loff_t ref_ctr_offset; member 282 unsigned long vaddr = offset_to_vaddr(vma, uprobe->ref_ctr_offset); in valid_ref_ctr_vma() 284 return uprobe->ref_ctr_offset && in valid_ref_ctr_vma() 351 (unsigned long long) uprobe->ref_ctr_offset, mm); in update_ref_ctr_warn() 364 rc_vaddr = offset_to_vaddr(rc_vma, uprobe->ref_ctr_offset); in update_ref_ctr() 541 if (do_update_ref_ctr && !ref_ctr_updated && uprobe->ref_ctr_offset) { in uprobe_write() 988 (unsigned long long) cur_uprobe->ref_ctr_offset, in ref_ctr_mismatch_warn() 989 (unsigned long long) uprobe->ref_ctr_offset); in ref_ctr_mismatch_warn() 993 loff_t ref_ctr_offset) in alloc_uprobe() argument 1003 uprobe->ref_ctr_offset = ref_ctr_offset; in alloc_uprobe() [all …]
|
| H A D | core.c | 11189 PMU_FORMAT_ATTR(ref_ctr_offset, "config:32-63"); 11222 unsigned long ref_ctr_offset; in perf_uprobe_event_init() local 11238 ref_ctr_offset = event->attr.config >> PERF_UPROBE_REF_CTR_OFFSET_SHIFT; in perf_uprobe_event_init() 11239 err = perf_uprobe_init(event, ref_ctr_offset, is_retprobe); in perf_uprobe_event_init()
|
| /linux/include/linux/ |
| H A D | uprobes.h | 209 extern struct uprobe *uprobe_register(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, st… 256 uprobe_register(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct uprobe_consumer *… in uprobe_register() argument
|
| H A D | trace_events.h | 881 unsigned long ref_ctr_offset, bool is_retprobe);
|
| /linux/tools/perf/util/ |
| H A D | probe-file.c | 812 unsigned long long ref_ctr_offset; in synthesize_sdt_probe_command() local 823 ref_ctr_offset = sdt_note__get_ref_ctr_offset(note); in synthesize_sdt_probe_command() 824 if (ref_ctr_offset && err >= 0) in synthesize_sdt_probe_command() 825 err = strbuf_addf(&buf, "(0x%llx)", ref_ctr_offset); in synthesize_sdt_probe_command()
|
| H A D | probe-event.c | 1999 tp->ref_ctr_offset = strtoul(fmt2_str + 1, NULL, 0); in parse_probe_trace_command() 2233 if (err >= 0 && tp->ref_ctr_offset) { in synthesize_uprobe_trace_def() 2236 err = strbuf_addf(buf, "(0x%lx)", tp->ref_ctr_offset); in synthesize_uprobe_trace_def() 2873 if (tp->ref_ctr_offset && !uprobe_ref_ctr_is_supported()) { in warn_uprobe_event_compat()
|
| /linux/kernel/bpf/ |
| H A D | syscall.c | 3965 u64 ref_ctr_offset, offset; in bpf_perf_link_fill_uprobe() local 3972 err = bpf_perf_link_fill_common(event, uname, &ulen, &offset, &ref_ctr_offset, in bpf_perf_link_fill_uprobe() 3984 info->perf_event.uprobe.ref_ctr_offset = ref_ctr_offset; in bpf_perf_link_fill_uprobe() 3994 u64 offset, ref_ctr_offset; in bpf_perf_link_fdinfo_uprobe() local 3998 &offset, &ref_ctr_offset, &missed); in bpf_perf_link_fdinfo_uprobe() 4008 name, offset, ref_ctr_offset, in bpf_perf_link_fdinfo_uprobe()
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 6791 __u64 ref_ctr_offset; 6786 __u64 ref_ctr_offset; global() member
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 6791 __u64 ref_ctr_offset; 6786 __u64 ref_ctr_offset; global() member
|