Lines Matching defs:image
93 pmcstat_cgnode_allocate(struct pmcstat_image *image, uintfptr_t pc)
100 cg->pcg_image = image;
134 struct pmcstat_image *image;
144 image = ppm->ppm_image;
146 loadaddress = ppm->ppm_lowpc + image->pi_vaddr - image->pi_start;
147 pc -= loadaddress; /* Convert to an offset in the image. */
154 if ((sym = pmcstat_symbol_search(image, pc)) != NULL)
175 if (cg->pcg_image == image && cg->pcg_func == pc)
183 cg = pmcstat_cgnode_allocate(image, pc);
219 * parent with the same (image, pcoffset) pair.
223 pmcstat_cgnode_find(struct pmcstat_cgnode *parent, struct pmcstat_image *image,
229 if (child->pcg_image == image &&
238 child = pmcstat_cgnode_allocate(image, pcoffset);
332 struct pmcstat_image *image;
360 * - Find the image associated with the sample. Stop if there
361 * is no valid image at that address.
366 * - Convert return virtual address to an offset in the image.
367 * - Look for a child with the same {offset,image} tuple,
389 image = ppm->ppm_image;
390 loadaddress = ppm->ppm_lowpc + image->pi_vaddr -
391 image->pi_start;
394 if ((sym = pmcstat_symbol_search(image, pc)) != NULL)
397 child = pmcstat_cgnode_find(parent, image, pc);