Lines Matching refs:lsrec_t
64 } lsrec_t; typedef
76 #define LS_BASIC offsetof(lsrec_t, ls_time)
77 #define LS_TIME offsetof(lsrec_t, ls_hist[0])
78 #define LS_HIST offsetof(lsrec_t, ls_stack[0])
79 #define LS_STACK(depth) offsetof(lsrec_t, ls_stack[depth])
81 static void report_stats(FILE *, lsrec_t **, size_t, uint64_t, uint64_t);
82 static void report_trace(FILE *, lsrec_t **);
323 lockcmp(lsrec_t *a, lsrec_t *b) in lockcmp()
353 countcmp(lsrec_t *a, lsrec_t *b) in countcmp()
364 timecmp(lsrec_t *a, lsrec_t *b) in timecmp()
380 lockcmp_anywhere(lsrec_t *a, lsrec_t *b) in lockcmp_anywhere()
396 lock_and_count_cmp_anywhere(lsrec_t *a, lsrec_t *b) in lock_and_count_cmp_anywhere()
412 sitecmp_anylock(lsrec_t *a, lsrec_t *b) in sitecmp_anylock()
437 site_and_count_cmp_anylock(lsrec_t *a, lsrec_t *b) in site_and_count_cmp_anylock()
462 mergesort(int (*cmp)(lsrec_t *, lsrec_t *), lsrec_t **a, lsrec_t **b, int n) in mergesort() argument
481 coalesce(int (*cmp)(lsrec_t *, lsrec_t *), lsrec_t **lock, int n) in coalesce() argument
484 lsrec_t *target, *current; in coalesce()
843 lsrec_fill(lsrec_t *lsrec, const dtrace_recdesc_t *rec, int nrecs, caddr_t data) in lsrec_fill()
900 lsrec_t *lsrec = lsdata->lsd_next; in process_aggregate()
957 lsdata->lsd_next = (lsrec_t *)((uintptr_t)lsrec + g_recsize); in process_aggregate()
967 lsrec_t *lsrec = lsdata->lsd_next; in process_trace()
976 lsdata->lsd_next = (lsrec_t *)((uintptr_t)lsrec + g_recsize); in process_trace()
988 lsdata.lsd_next = (lsrec_t *)data; in process_data()
1019 lsrec_t *lsp, **current, **first, **sort_buf, **merge_buf; in main()
1436 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main()
1438 lsp = (lsrec_t *)((char *)lsp + g_recsize)) { in main()
1447 lsrec_t *newlsp, *oldlsp; in main()
1455 for (i = 0, oldlsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main()
1457 oldlsp = (lsrec_t *)((char *)oldlsp + g_recsize)) { in main()
1472 lsp = (lsrec_t *)((char *)lsp + LS_TIME); in main()
1477 lsp = (lsrec_t *)((char *)lsp + LS_TIME); in main()
1497 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main()
1499 lsp = (lsrec_t *)((char *)lsp + g_recsize)) { in main()
1618 report_stats(FILE *out, lsrec_t **sort_buf, size_t nrecs, uint64_t total_count, in report_stats()
1622 lsrec_t *lsp; in report_stats()
1810 report_trace(FILE *out, lsrec_t **sort_buf) in report_trace()
1812 lsrec_t *lsp; in report_trace()