/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | attach_probe.c | 74 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_manual() 97 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_manual() 199 ssize_t uprobe_offset, ref_ctr_offset; in test_uprobe_ref_ctr() local 205 ref_ctr_offset = get_rel_offset((uintptr_t)&uprobe_ref_ctr); in test_uprobe_ref_ctr() 206 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_uprobe_ref_ctr() 212 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_uprobe_ref_ctr() 226 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_uprobe_ref_ctr()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_uprobe.c | 64 unsigned long ref_ctr_offset; member 289 if (tu->ref_ctr_offset == 0) in trace_uprobe_match_command_head() 295 tu->ref_ctr_offset); in trace_uprobe_match_command_head() 476 new->ref_ctr_offset != tmp->ref_ctr_offset) { in validate_ref_ctr_offset() 541 unsigned long offset, ref_ctr_offset; in __trace_uprobe_create() local 545 ref_ctr_offset = 0; in __trace_uprobe_create() 615 ret = kstrtoul(rctr, 0, &ref_ctr_offset); in __trace_uprobe_create() 681 tu->ref_ctr_offset = ref_ctr_offset; in __trace_uprobe_create() 755 if (tu->ref_ctr_offset) in trace_uprobe_show() 756 seq_printf(m, "(0x%lx)", tu->ref_ctr_offset); in trace_uprobe_show() [all …]
|
H A D | trace_event_perf.c | 299 unsigned long ref_ctr_offset, bool is_retprobe) in perf_uprobe_init() argument 320 ref_ctr_offset, is_retprobe); in perf_uprobe_init()
|
H A D | trace_probe.h | 460 unsigned long ref_ctr_offset, bool is_return);
|
H A D | bpf_trace.c | 3046 unsigned long ref_ctr_offset; member 3264 if (uref_ctr_offsets && __get_user(uprobes[i].ref_ctr_offset, uref_ctr_offsets + i)) { in bpf_uprobe_multi_link_attach() 3295 uprobes[i].ref_ctr_offset, in bpf_uprobe_multi_link_attach()
|
/openbmc/linux/kernel/events/ |
H A D | uprobes.c | 63 loff_t ref_ctr_offset; member 340 unsigned long vaddr = offset_to_vaddr(vma, uprobe->ref_ctr_offset); in valid_ref_ctr_vma() 342 return uprobe->ref_ctr_offset && in valid_ref_ctr_vma() 406 "0x%llx ref_ctr_offset: 0x%llx of mm: 0x%pK\n", in update_ref_ctr_warn() 409 (unsigned long long) uprobe->ref_ctr_offset, mm); in update_ref_ctr_warn() 422 rc_vaddr = offset_to_vaddr(rc_vma, uprobe->ref_ctr_offset); in update_ref_ctr() 496 if (!ref_ctr_updated && uprobe->ref_ctr_offset) { in uprobe_write_opcode() 719 pr_warn("ref_ctr_offset mismatch. inode: 0x%lx offset: 0x%llx " in ref_ctr_mismatch_warn() 720 "ref_ctr_offset(old): 0x%llx ref_ctr_offset(ne in ref_ctr_mismatch_warn() 727 alloc_uprobe(struct inode * inode,loff_t offset,loff_t ref_ctr_offset) alloc_uprobe() argument 1141 __uprobe_register(struct inode * inode,loff_t offset,loff_t ref_ctr_offset,struct uprobe_consumer * uc) __uprobe_register() argument 1202 uprobe_register_refctr(struct inode * inode,loff_t offset,loff_t ref_ctr_offset,struct uprobe_consumer * uc) uprobe_register_refctr() argument [all...] |
H A D | core.c | 10396 PMU_FORMAT_ATTR(ref_ctr_offset, "config:32-63"); 10429 unsigned long ref_ctr_offset; in perf_uprobe_event_init() local 10445 ref_ctr_offset = event->attr.config >> PERF_UPROBE_REF_CTR_OFFSET_SHIFT; in perf_uprobe_event_init() 10446 err = perf_uprobe_init(event, ref_ctr_offset, is_retprobe); in perf_uprobe_event_init()
|
/openbmc/linux/include/linux/ |
H A D | uprobes.h | 116 extern int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct… 158 static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset,… in uprobe_register_refctr() argument
|
H A D | trace_events.h | 893 unsigned long ref_ctr_offset, bool is_retprobe);
|
/openbmc/linux/tools/perf/util/ |
H A D | probe-file.c | 831 unsigned long long ref_ctr_offset; in synthesize_sdt_probe_command() local 842 ref_ctr_offset = sdt_note__get_ref_ctr_offset(note); in synthesize_sdt_probe_command() 843 if (ref_ctr_offset && err >= 0) in synthesize_sdt_probe_command() 844 err = strbuf_addf(&buf, "(0x%llx)", ref_ctr_offset); in synthesize_sdt_probe_command()
|
H A D | probe-event.h | 35 unsigned long ref_ctr_offset; /* SDT reference counter offset */ member
|
H A D | probe-event.c | 1946 tp->ref_ctr_offset = strtoul(fmt2_str + 1, NULL, 0); in parse_probe_trace_command() 2180 if (err >= 0 && tp->ref_ctr_offset) { in synthesize_uprobe_trace_def() 2183 err = strbuf_addf(buf, "(0x%lx)", tp->ref_ctr_offset); in synthesize_uprobe_trace_def() 2801 if (tp->ref_ctr_offset && !uprobe_ref_ctr_is_supported()) { in warn_uprobe_event_compat()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | libbpf.h | 636 size_t ref_ctr_offset; member
|
H A D | usdt.c | 1073 opts.ref_ctr_offset = target->sema_off; in usdt_manager_attach_usdt()
|
H A D | libbpf.c | 11391 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()
|