Home
last modified time | relevance | path

Searched refs:ref_ctr_offset (Results 1 – 13 of 13) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
A Dattach_probe.c21 ssize_t base_addr, ref_ctr_offset; in test_attach_probe() local
43 ref_ctr_offset = get_rel_offset((uintptr_t)&uprobe_ref_ctr); in test_attach_probe()
44 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_attach_probe()
71 uprobe_opts.ref_ctr_offset = legacy ? 0 : ref_ctr_offset; in test_attach_probe()
86 uprobe_opts.ref_ctr_offset = legacy ? 0 : ref_ctr_offset; in test_attach_probe()
/linux/kernel/trace/
A Dtrace_uprobe.c62 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()
482 new->ref_ctr_offset != tmp->ref_ctr_offset) { in validate_ref_ctr_offset()
546 unsigned long offset, ref_ctr_offset; in __trace_uprobe_create() local
551 ref_ctr_offset = 0; in __trace_uprobe_create()
683 tu->ref_ctr_offset = ref_ctr_offset; in __trace_uprobe_create()
753 if (tu->ref_ctr_offset) in trace_uprobe_show()
1064 if (tu->ref_ctr_offset) in trace_uprobe_enable()
1066 tu->ref_ctr_offset, &tu->consumer); in trace_uprobe_enable()
[all …]
A Dtrace_event_perf.c303 unsigned long ref_ctr_offset, bool is_retprobe) in perf_uprobe_init() argument
324 ref_ctr_offset, is_retprobe); in perf_uprobe_init()
A Dtrace_probe.h385 unsigned long ref_ctr_offset, bool is_return);
/linux/kernel/events/
A Duprobes.c64 loff_t ref_ctr_offset; member
348 return uprobe->ref_ctr_offset && in valid_ref_ctr_vma()
415 (unsigned long long) uprobe->ref_ctr_offset, mm); in update_ref_ctr_warn()
498 if (!ref_ctr_updated && uprobe->ref_ctr_offset) { in uprobe_write_opcode()
724 (unsigned long long) cur_uprobe->ref_ctr_offset, in ref_ctr_mismatch_warn()
725 (unsigned long long) uprobe->ref_ctr_offset); in ref_ctr_mismatch_warn()
729 loff_t ref_ctr_offset) in alloc_uprobe() argument
739 uprobe->ref_ctr_offset = ref_ctr_offset; in alloc_uprobe()
747 if (cur_uprobe->ref_ctr_offset != uprobe->ref_ctr_offset) { in alloc_uprobe()
1165 if (!IS_ALIGNED(ref_ctr_offset, sizeof(short))) in __uprobe_register()
[all …]
A Dcore.c9895 PMU_FORMAT_ATTR(ref_ctr_offset, "config:32-63");
9928 unsigned long ref_ctr_offset; in perf_uprobe_event_init() local
9944 ref_ctr_offset = event->attr.config >> PERF_UPROBE_REF_CTR_OFFSET_SHIFT; in perf_uprobe_event_init()
9945 err = perf_uprobe_init(event, ref_ctr_offset, is_retprobe); in perf_uprobe_event_init()
/linux/include/linux/
A Duprobes.h114 extern int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset, struct…
156 static inline int uprobe_register_refctr(struct inode *inode, loff_t offset, loff_t ref_ctr_offset,… in uprobe_register_refctr() argument
A Dtrace_events.h844 unsigned long ref_ctr_offset, bool is_retprobe);
/linux/tools/perf/util/
A Dprobe-file.c831 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()
A Dprobe-event.h35 unsigned long ref_ctr_offset; /* SDT reference counter offset */ member
A Dprobe-event.c1930 tp->ref_ctr_offset = strtoul(fmt2_str + 1, NULL, 0); in parse_probe_trace_command()
2160 if (err >= 0 && tp->ref_ctr_offset) { in synthesize_uprobe_trace_def()
2163 err = strbuf_addf(buf, "(0x%lx)", tp->ref_ctr_offset); in synthesize_uprobe_trace_def()
2781 if (tp->ref_ctr_offset && !uprobe_ref_ctr_is_supported()) { in warn_uprobe_event_compat()
/linux/tools/lib/bpf/
A Dlibbpf.h338 size_t ref_ctr_offset; member
A Dlibbpf.c9917 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()

Completed in 77 milliseconds