b418d2ef1e
- add '-j' options to filter to enable converting native pmc log format to json lines format to enable the use of scripts and external tooling % pmc filter -j pmc.log pmc.jsonl - Record the tsc value in sampling interrupts as opposed to recording nanotime when the sample is copied to a global log in hardclock - potentially many milliseconds later. - At initialize record the tsc_freq and the time of day to give us an offset for translating the tsc values in callchain records
15 lines
245 B
Makefile
15 lines
245 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PROG_CXX= pmcstat
|
|
MAN= pmcstat.8
|
|
|
|
LIBADD= kvm pmc m ncursesw pmcstat elf
|
|
|
|
SRCS= pmcstat.c pmcstat.h pmcstat_log.c \
|
|
pmcpl_callgraph.c pmcpl_gprof.c pmcpl_annotate.c \
|
|
pmcpl_annotate_cg.c pmcpl_calltree.c
|
|
|
|
.include <bsd.prog.mk>
|