# Debugging utilities which are intended solely for authors' internal use

DIRS+=debug
PROGS+=$(addprefix $(o)/debug/,whenis sample cols histogram log-times log-qsplit log-muxstats log-muxpeaks log-ssstats find-cycles)

$(o)/debug/random-access: $(o)/debug/random-access.o $(LIBSH)
$(o)/debug/sample: $(o)/debug/sample.o $(LIBSH)
$(o)/debug/histogram: $(o)/debug/histogram.o $(LIBSH)
$(o)/debug/flashdis: $(o)/debug/flashdis.o $(LIBSH)
$(o)/debug/ffstest: $(o)/debug/ffstest.o $(LIBSH)
$(o)/debug/refs-analyse: $(o)/debug/refs-analyse.o $(o)/indexer/iconfig.o $(LIBSH) -lm
$(o)/debug/retros: $(o)/debug/retros.o $(LIBSH)
