Lines Matching refs:target
138 * uprobe BPF program to multiple target locations in user application, each
154 * without specifying target process. In such case, it's impossible to
584 struct usdt_target *targets = NULL, *target;
773 target = &targets[target_cnt];
774 memset(target, 0, sizeof(*target));
776 target->abs_ip = usdt_abs_ip;
777 target->rel_ip = usdt_rel_ip;
778 target->sema_off = usdt_sema_off;
783 target->spec_str = note.args;
785 err = parse_usdt_spec(&target->spec, ¬e, usdt_cookie);
901 struct bpf_link_usdt *link, struct usdt_target *target,
909 if (hashmap__find(specs_hash, target->spec_str, &tmp)) {
928 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
941 err = hashmap__add(specs_hash, target->spec_str, *spec_id);
1031 struct usdt_target *target = &targets[i];
1044 err = allocate_spec_id(man, specs_hash, link, target, &spec_id, &is_new);
1048 if (is_new && bpf_map_update_elem(spec_map_fd, &spec_id, &target->spec, BPF_ANY)) {
1055 bpf_map_update_elem(ip_map_fd, &target->abs_ip, &spec_id, BPF_NOEXIST)) {
1062 target->abs_ip, spec_id, usdt_provider, usdt_name,
1069 offsets[i] = target->rel_ip;
1070 ref_ctr_offsets[i] = target->sema_off;
1073 opts.ref_ctr_offset = target->sema_off;
1076 target->rel_ip, &opts);
1085 link->uprobes[i].abs_ip = target->abs_ip;