Lines Matching full:t
4 #define CTL_GET(n, v, t) do { \ argument
5 size_t sz = sizeof(t); \
9 #define CTL_M2_GET(n, i, v, t) do { \ argument
12 size_t sz = sizeof(t); \
18 #define CTL_M2_M4_GET(n, i, j, v, t) do { \ argument
21 size_t sz = sizeof(t); \
50 "\t\t\t\t\"bins\": [\n"); in stats_arena_bins_print()
110 "\t\t\t\t\t{\n" in stats_arena_bins_print()
111 "\t\t\t\t\t\t\"nmalloc\": %"FMTu64",\n" in stats_arena_bins_print()
112 "\t\t\t\t\t\t\"ndalloc\": %"FMTu64",\n" in stats_arena_bins_print()
113 "\t\t\t\t\t\t\"curregs\": %zu,\n" in stats_arena_bins_print()
114 "\t\t\t\t\t\t\"nrequests\": %"FMTu64",\n", in stats_arena_bins_print()
121 "\t\t\t\t\t\t\"nfills\": %"FMTu64",\n" in stats_arena_bins_print()
122 "\t\t\t\t\t\t\"nflushes\": %"FMTu64",\n", in stats_arena_bins_print()
127 "\t\t\t\t\t\t\"nreruns\": %"FMTu64",\n" in stats_arena_bins_print()
128 "\t\t\t\t\t\t\"curruns\": %zu\n" in stats_arena_bins_print()
129 "\t\t\t\t\t}%s\n", in stats_arena_bins_print()
177 "\t\t\t\t]%s\n", (large || huge) ? "," : ""); in stats_arena_bins_print()
197 "\t\t\t\t\"lruns\": [\n"); in stats_arena_lruns_print()
226 "\t\t\t\t\t{\n" in stats_arena_lruns_print()
227 "\t\t\t\t\t\t\"curruns\": %zu\n" in stats_arena_lruns_print()
228 "\t\t\t\t\t}%s\n", in stats_arena_lruns_print()
241 "\t\t\t\t]%s\n", huge ? "," : ""); in stats_arena_lruns_print()
262 "\t\t\t\t\"hchunks\": [\n"); in stats_arena_hchunks_print()
291 "\t\t\t\t\t{\n" in stats_arena_hchunks_print()
292 "\t\t\t\t\t\t\"curhchunks\": %zu\n" in stats_arena_hchunks_print()
293 "\t\t\t\t\t}%s\n", in stats_arena_hchunks_print()
307 "\t\t\t\t]\n"); in stats_arena_hchunks_print()
338 "\t\t\t\t\"nthreads\": %u,\n", nthreads); in stats_arena_print()
347 "\t\t\t\t\"dss\": \"%s\",\n", dss); in stats_arena_print()
356 "\t\t\t\t\"lg_dirty_mult\": %zd,\n", lg_dirty_mult); in stats_arena_print()
373 "\t\t\t\t\"decay_time\": %zd,\n", decay_time); in stats_arena_print()
393 "\t\t\t\t\"pactive\": %zu,\n", pactive); in stats_arena_print()
395 "\t\t\t\t\"pdirty\": %zu,\n", pdirty); in stats_arena_print()
397 "\t\t\t\t\"npurge\": %"FMTu64",\n", npurge); in stats_arena_print()
399 "\t\t\t\t\"nmadvise\": %"FMTu64",\n", nmadvise); in stats_arena_print()
401 "\t\t\t\t\"purged\": %"FMTu64",\n", purged); in stats_arena_print()
416 "\t\t\t\t\"small\": {\n"); in stats_arena_print()
419 "\t\t\t\t\t\"allocated\": %zu,\n", small_allocated); in stats_arena_print()
421 "\t\t\t\t\t\"nmalloc\": %"FMTu64",\n", small_nmalloc); in stats_arena_print()
423 "\t\t\t\t\t\"ndalloc\": %"FMTu64",\n", small_ndalloc); in stats_arena_print()
425 "\t\t\t\t\t\"nrequests\": %"FMTu64"\n", small_nrequests); in stats_arena_print()
428 "\t\t\t\t},\n"); in stats_arena_print()
448 "\t\t\t\t\"large\": {\n"); in stats_arena_print()
451 "\t\t\t\t\t\"allocated\": %zu,\n", large_allocated); in stats_arena_print()
453 "\t\t\t\t\t\"nmalloc\": %"FMTu64",\n", large_nmalloc); in stats_arena_print()
455 "\t\t\t\t\t\"ndalloc\": %"FMTu64",\n", large_ndalloc); in stats_arena_print()
457 "\t\t\t\t\t\"nrequests\": %"FMTu64"\n", large_nrequests); in stats_arena_print()
460 "\t\t\t\t},\n"); in stats_arena_print()
476 "\t\t\t\t\"huge\": {\n"); in stats_arena_print()
479 "\t\t\t\t\t\"allocated\": %zu,\n", huge_allocated); in stats_arena_print()
481 "\t\t\t\t\t\"nmalloc\": %"FMTu64",\n", huge_nmalloc); in stats_arena_print()
483 "\t\t\t\t\t\"ndalloc\": %"FMTu64",\n", huge_ndalloc); in stats_arena_print()
485 "\t\t\t\t\t\"nrequests\": %"FMTu64"\n", huge_nrequests); in stats_arena_print()
488 "\t\t\t\t},\n"); in stats_arena_print()
510 "\t\t\t\t\"mapped\": %zu,\n", mapped); in stats_arena_print()
519 "\t\t\t\t\"retained\": %zu,\n", retained); in stats_arena_print()
531 "\t\t\t\t\"metadata\": {\n"); in stats_arena_print()
534 "\t\t\t\t\t\"mapped\": %zu,\n", metadata_mapped); in stats_arena_print()
536 "\t\t\t\t\t\"allocated\": %zu\n", metadata_allocated); in stats_arena_print()
539 "\t\t\t\t},\n"); in stats_arena_print()
577 "\t\t\"version\": \"%s\",\n", cpv); in stats_general_print()
586 "\t\t\t\""#n"\": %s%s\n", bv ? "true" : "false", \ in stats_general_print()
592 "\t\t\"config\": {\n"); in stats_general_print()
600 "\t\t\t\"debug\": %s,\n", bv ? "true" : "false"); in stats_general_print()
611 "\t\t\t\"malloc_conf\": \"%s\",\n", in stats_general_print()
631 "\t\t},\n"); in stats_general_print()
640 "\t\t\t\""#n"\": %s%s\n", bv ? "true" : \ in stats_general_print()
653 "\t\t\t\""#n"\": %s%s\n", bv ? "true" : \ in stats_general_print()
666 "\t\t\t\""#n"\": %u%s\n", uv, (c)); \ in stats_general_print()
676 "\t\t\t\""#n"\": %zu%s\n", sv, (c)); \ in stats_general_print()
686 "\t\t\t\""#n"\": %zd%s\n", ssv, (c)); \ in stats_general_print()
698 "\t\t\t\""#n"\": %zd%s\n", ssv, (c)); \ in stats_general_print()
710 "\t\t\t\""#n"\": \"%s\"%s\n", cpv, (c)); \ in stats_general_print()
719 "\t\t\"opt\": {\n"); in stats_general_print()
763 "\t\t},\n"); in stats_general_print()
775 "\t\t\"arenas\": {\n"); in stats_general_print()
781 "\t\t\t\"narenas\": %u,\n", uv); in stats_general_print()
788 "\t\t\t\"lg_dirty_mult\": %zd,\n", ssv); in stats_general_print()
803 "\t\t\t\"decay_time\": %zd,\n", ssv); in stats_general_print()
813 "\t\t\t\"quantum\": %zu,\n", sv); in stats_general_print()
820 "\t\t\t\"page\": %zu,\n", sv); in stats_general_print()
827 "\t\t\t\"tcache_max\": %zu,\n", sv); in stats_general_print()
839 "\t\t\t\"nbins\": %u,\n", nbins); in stats_general_print()
843 "\t\t\t\"nhbins\": %u,\n", uv); in stats_general_print()
846 "\t\t\t\"bin\": [\n"); in stats_general_print()
849 "\t\t\t\t{\n"); in stats_general_print()
853 "\t\t\t\t\t\"size\": %zu,\n", sv); in stats_general_print()
857 "\t\t\t\t\t\"nregs\": %"FMTu32",\n", u32v); in stats_general_print()
861 "\t\t\t\t\t\"run_size\": %zu\n", sv); in stats_general_print()
864 "\t\t\t\t}%s\n", (i + 1 < nbins) ? "," : ""); in stats_general_print()
867 "\t\t\t],\n"); in stats_general_print()
871 "\t\t\t\"nlruns\": %u,\n", nlruns); in stats_general_print()
874 "\t\t\t\"lrun\": [\n"); in stats_general_print()
877 "\t\t\t\t{\n"); in stats_general_print()
881 "\t\t\t\t\t\"size\": %zu\n", sv); in stats_general_print()
884 "\t\t\t\t}%s\n", (i + 1 < nlruns) ? "," : ""); in stats_general_print()
887 "\t\t\t],\n"); in stats_general_print()
891 "\t\t\t\"nhchunks\": %u,\n", nhchunks); in stats_general_print()
894 "\t\t\t\"hchunk\": [\n"); in stats_general_print()
897 "\t\t\t\t{\n"); in stats_general_print()
901 "\t\t\t\t\t\"size\": %zu\n", sv); in stats_general_print()
904 "\t\t\t\t}%s\n", (i + 1 < nhchunks) ? "," : ""); in stats_general_print()
907 "\t\t\t]\n"); in stats_general_print()
910 "\t\t},\n"); in stats_general_print()
916 "\t\t\"prof\": {\n"); in stats_general_print()
920 "\t\t\t\"thread_active_init\": %s,\n", bv ? "true" : in stats_general_print()
925 "\t\t\t\"active\": %s,\n", bv ? "true" : "false"); in stats_general_print()
929 "\t\t\t\"gdump\": %s,\n", bv ? "true" : "false"); in stats_general_print()
933 "\t\t\t\"interval\": %"FMTu64",\n", u64v); in stats_general_print()
937 "\t\t\t\"lg_sample\": %zd\n", ssv); in stats_general_print()
940 "\t\t}%s\n", (config_stats || merged || unmerged) ? "," : in stats_general_print()
961 "\t\t\"stats\": {\n"); in stats_print_helper()
964 "\t\t\t\"cactive\": %zu,\n", atomic_read_z(cactive)); in stats_print_helper()
966 "\t\t\t\"allocated\": %zu,\n", allocated); in stats_print_helper()
968 "\t\t\t\"active\": %zu,\n", active); in stats_print_helper()
970 "\t\t\t\"metadata\": %zu,\n", metadata); in stats_print_helper()
972 "\t\t\t\"resident\": %zu,\n", resident); in stats_print_helper()
974 "\t\t\t\"mapped\": %zu,\n", mapped); in stats_print_helper()
976 "\t\t\t\"retained\": %zu\n", retained); in stats_print_helper()
979 "\t\t}%s\n", (merged || unmerged) ? "," : ""); in stats_print_helper()
995 "\t\t\"stats.arenas\": {\n"); in stats_print_helper()
1017 "\t\t\t\"merged\": {\n"); in stats_print_helper()
1026 "\t\t\t}%s\n", (ninitialized > 1) ? in stats_print_helper()
1038 "\t\t\t\"%u\": {\n", i); in stats_print_helper()
1049 "\t\t\t}%s\n", (j < in stats_print_helper()
1058 "\t\t}\n"); in stats_print_helper()
1134 "\t\"jemalloc\": {\n"); in stats_print()
1148 "\t}\n" in stats_print()