Lines Matching refs:ftp
48 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) in dt_pid_create_entry_probe() argument
51 ftp->ftps_type = DTFTP_ENTRY; in dt_pid_create_entry_probe()
52 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_entry_probe()
53 ftp->ftps_size = (size_t)symp->st_size; in dt_pid_create_entry_probe()
54 ftp->ftps_noffs = 1; in dt_pid_create_entry_probe()
55 ftp->ftps_offs[0] = 0; in dt_pid_create_entry_probe()
57 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_entry_probe()
68 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, uint64_t *stret) in dt_pid_create_return_probe() argument
79 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, ulong_t off) in dt_pid_create_offset_probe() argument
85 ftp->ftps_type = DTFTP_OFFSETS; in dt_pid_create_offset_probe()
86 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_offset_probe()
87 ftp->ftps_size = (size_t)symp->st_size; in dt_pid_create_offset_probe()
88 ftp->ftps_noffs = 1; in dt_pid_create_offset_probe()
89 ftp->ftps_offs[0] = off; in dt_pid_create_offset_probe()
91 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_offset_probe()
103 fasttrap_probe_spec_t *ftp, const GElf_Sym *symp, const char *pattern) in dt_pid_create_glob_offset_probes() argument
107 ftp->ftps_type = DTFTP_OFFSETS; in dt_pid_create_glob_offset_probes()
108 ftp->ftps_pc = (uintptr_t)symp->st_value; in dt_pid_create_glob_offset_probes()
109 ftp->ftps_size = (size_t)symp->st_size; in dt_pid_create_glob_offset_probes()
110 ftp->ftps_noffs = 0; in dt_pid_create_glob_offset_probes()
120 ftp->ftps_offs[ftp->ftps_noffs++] = i; in dt_pid_create_glob_offset_probes()
128 ftp->ftps_offs[ftp->ftps_noffs++] = i; in dt_pid_create_glob_offset_probes()
132 if (ioctl(dtp->dt_ftfd, FASTTRAPIOC_MAKEPROBE, ftp) != 0) { in dt_pid_create_glob_offset_probes()
138 return (ftp->ftps_noffs); in dt_pid_create_glob_offset_probes()