Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
A Dattach_probe.c74 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_manual()
97 uprobe_opts.ref_ctr_offset = 0; in test_attach_probe_manual()
147 uprobe_opts.ref_ctr_offset = 0; in test_attach_uprobe_long_event_name()
278 ssize_t uprobe_offset, ref_ctr_offset; in test_uprobe_ref_ctr() local
284 ref_ctr_offset = get_rel_offset((uintptr_t)&uprobe_ref_ctr); in test_uprobe_ref_ctr()
285 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_uprobe_ref_ctr()
291 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_uprobe_ref_ctr()
305 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_uprobe_ref_ctr()
A Dfill_link_info.c40 ssize_t ref_ctr_offset = entry_offset /* ref_ctr_offset for uprobes */; in verify_perf_link_info() local
101 ASSERT_EQ(info.perf_event.uprobe.ref_ctr_offset, ref_ctr_offset, "uprobe_ref_ctr_offset"); in verify_perf_link_info()
249 __u64 *ref_ctr_offset; in test_uprobe_fill_link_info() local
254 (unsigned long **) &ref_ctr_offset, STT_OBJECT); in test_uprobe_fill_link_info()
258 opts.ref_ctr_offset = *ref_ctr_offset; in test_uprobe_fill_link_info()
267 err = verify_perf_link_info(link_fd, type, 0, uprobe_offset, *ref_ctr_offset); in test_uprobe_fill_link_info()
271 free(ref_ctr_offset); in test_uprobe_fill_link_info()
/tools/perf/util/
A Dprobe-event.h35 unsigned long ref_ctr_offset; /* SDT reference counter offset */ member
A Dprobe-file.c812 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()
A Dprobe-event.c1999 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()
2872 if (tp->ref_ctr_offset && !uprobe_ref_ctr_is_supported()) { in warn_uprobe_event_compat()
/tools/bpf/bpftool/
A Dlink.c383 jsonw_uint_field(wtr, "ref_ctr_offset", info->perf_event.uprobe.ref_ctr_offset); in show_perf_event_uprobe_json()
829 if (info->perf_event.uprobe.ref_ctr_offset) in show_perf_event_uprobe_plain()
830 printf("ref_ctr_offset 0x%llx ", info->perf_event.uprobe.ref_ctr_offset); in show_perf_event_uprobe_plain()
/tools/lib/bpf/
A Dlibbpf.h687 size_t ref_ctr_offset; member
A Dusdt.c1075 opts.ref_ctr_offset = target->sema_off; in usdt_manager_attach_usdt()
A Dlibbpf.c12257 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()
/tools/include/uapi/linux/
A Dbpf.h6768 __u64 ref_ctr_offset; member

Completed in 65 milliseconds