Lines Matching refs:profdata
208 struct profdata struct
231 static struct profdata *load_profdata (const char *name, struct shobj *shobj); argument
232 static void unload_profdata (struct profdata *profdata);
233 static void count_total_ticks (struct shobj *shobj, struct profdata *profdata);
234 static void count_calls (struct shobj *shobj, struct profdata *profdata);
236 static void add_arcs (struct profdata *profdata);
237 static void generate_flat_profile (struct profdata *profdata);
238 static void generate_call_graph (struct profdata *profdata);
239 static void generate_call_pair_list (struct profdata *profdata);
246 const char *profdata; in main() local
248 struct profdata *profdata_handle; in main()
270 profdata = argv[remaining + 1]; in main()
274 profdata = NULL; in main()
283 if (profdata == NULL) in main()
293 profdata = newp; in main()
297 profdata_handle = load_profdata (profdata, shobj_handle); in main()
742 static struct profdata *
745 struct profdata *result; in load_profdata()
821 result = (struct profdata *) calloc (1, sizeof (struct profdata)); in load_profdata()
953 unload_profdata (struct profdata *profdata) in unload_profdata() argument
955 free (profdata->tos); in unload_profdata()
956 munmap (profdata->addr, profdata->size); in unload_profdata()
957 free (profdata); in unload_profdata()
962 count_total_ticks (struct shobj *shobj, struct profdata *profdata) in count_total_ticks() argument
964 volatile uint16_t *kcount = profdata->kcount; in count_total_ticks()
1014 count_calls (struct shobj *shobj, struct profdata *profdata) in count_calls() argument
1016 struct here_cg_arc_record *data = profdata->data; in count_calls()
1017 uint32_t narcs = profdata->narcs; in count_calls()
1184 add_arcs (struct profdata *profdata) in add_arcs() argument
1186 uint32_t narcs = profdata->narcs; in add_arcs()
1187 struct here_cg_arc_record *data = profdata->data; in add_arcs()
1310 generate_flat_profile (struct profdata *profdata) in generate_flat_profile() argument
1315 tick_unit = 1.0 / profdata->hist_hdr->prof_rate; in generate_flat_profile()
1319 tick_unit, profdata->hist_hdr->dimen); in generate_flat_profile()
1335 generate_call_graph (struct profdata *profdata) in generate_call_graph() argument
1403 generate_call_pair_list (struct profdata *profdata) in generate_call_pair_list() argument