DJ's glibc stuff

Trace-enabled glibc

Fedora COPR Repo: djdelorie/glibc-malloc-with-trace (available for F26 x86, and Rawhide x86/ppc)

For everything else:

To build trace tools:
$ make
To use trace:
$ LD_PRELOAD=/lib64/libmtracectl.so.1 ls
mtrace-ctl: writing to /tmp/mtrace.out.10644

$ trace2wl ls.wl /tmp/mtrace.out.10644

$ trace_run ls.wl
1,087,542 cycles
272 usec wall time
276 usec across 1 thread
0 Kb Max RSS (1,456 -> 1,456)
132 Kb Max Ideal RSS

sizeof ticks_t is 8
Avg malloc time:    183 in        596 calls
Avg calloc time:      0 in          1 calls
Avg realloc time: 7,387 in          6 calls
Avg free time:       94 in        176 calls
Total call time: 170,204 cycles