Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dattach_probe.c16 ssize_t base_addr, ref_ctr_offset; in test_attach_probe() local
24 ref_ctr_offset = get_rel_offset((uintptr_t)&uprobe_ref_ctr); in test_attach_probe()
25 if (!ASSERT_GE(ref_ctr_offset, 0, "ref_ctr_offset")) in test_attach_probe()
51 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_attach_probe()
65 uprobe_opts.ref_ctr_offset = ref_ctr_offset; in test_attach_probe()
/tools/perf/util/
Dprobe-event.h35 unsigned long ref_ctr_offset; /* SDT reference counter offset */ member
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()
Dprobe-event.c1932 tp->ref_ctr_offset = strtoul(fmt2_str + 1, NULL, 0); in parse_probe_trace_command()
2162 if (err >= 0 && tp->ref_ctr_offset) { in synthesize_uprobe_trace_def()
2165 err = strbuf_addf(buf, "(0x%lx)", tp->ref_ctr_offset); in synthesize_uprobe_trace_def()
2783 if (tp->ref_ctr_offset && !uprobe_ref_ctr_is_supported()) { in warn_uprobe_event_compat()
/tools/lib/bpf/
Dlibbpf.h290 size_t ref_ctr_offset; member
Dlibbpf.c9335 ref_ctr_off = OPTS_GET(opts, ref_ctr_offset, 0); in bpf_program__attach_uprobe_opts()