Lines Matching refs:ftp
43 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) in dt_pid_create_entry_probe() argument
45 ftp->ftps_type = DTFTP_ENTRY; in dt_pid_create_entry_probe()
46 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_entry_probe()
47 ftp->ftps_size = (size_t)symp->st_size; in dt_pid_create_entry_probe()
48 ftp->ftps_noffs = 1; in dt_pid_create_entry_probe()
49 ftp->ftps_offs[0] = 0; in dt_pid_create_entry_probe()
51 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_entry_probe()
62 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) in dt_pid_create_return_probe() argument
87 ftp->ftps_type = DTFTP_RETURN; in dt_pid_create_return_probe()
88 ftp->ftps_pc = symp->st_value; in dt_pid_create_return_probe()
89 ftp->ftps_size = symp->st_size; in dt_pid_create_return_probe()
90 ftp->ftps_noffs = 0; in dt_pid_create_return_probe()
119 ftp->ftps_offs[ftp->ftps_noffs++] = i * 4; in dt_pid_create_return_probe()
123 if (ftp->ftps_noffs > 0) { in dt_pid_create_return_probe()
124 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_return_probe()
132 return (ftp->ftps_noffs); in dt_pid_create_return_probe()
138 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) in dt_pid_create_offset_probe() argument
143 ftp->ftps_type = DTFTP_OFFSETS; in dt_pid_create_offset_probe()
144 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_offset_probe()
145 ftp->ftps_size = (size_t)symp->st_size; in dt_pid_create_offset_probe()
146 ftp->ftps_noffs = 1; in dt_pid_create_offset_probe()
147 ftp->ftps_offs[0] = off; in dt_pid_create_offset_probe()
149 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_offset_probe()
161 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) in dt_pid_create_glob_offset_probes() argument
165 ftp->ftps_type = DTFTP_OFFSETS; in dt_pid_create_glob_offset_probes()
166 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_glob_offset_probes()
167 ftp->ftps_size = (size_t)symp->st_size; in dt_pid_create_glob_offset_probes()
168 ftp->ftps_noffs = 0; in dt_pid_create_glob_offset_probes()
178 ftp->ftps_offs[ftp->ftps_noffs++] = i; in dt_pid_create_glob_offset_probes()
186 ftp->ftps_offs[ftp->ftps_noffs++] = i; in dt_pid_create_glob_offset_probes()
190 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_glob_offset_probes()
196 return (ftp->ftps_noffs); in dt_pid_create_glob_offset_probes()