Files
Ali Mashtizadeh ce6ab51fc3 pmc: enable the new pmc commands
This change hooks everything up to the pmc command and improves the
usage to document all functions.  There are a couple older commands that
are currently broken that I have hidden from the usage, but left in the
code for those using it.  I won't remove those until we have our
replacements upstreamed that depend on the AMD PMC multiplexing patches.

Sponsored by: Netflix
Reviewed by:	adrian, imp
Differential Revision:	https://reviews.freebsd.org/D57780
2026-07-28 13:27:45 -06:00

18 lines
386 B
Makefile

.include <src.opts.mk>
PACKAGE= pmc
PROG_CXX= pmc
MAN=
CWARNFLAGS.gcc+= -Wno-redundant-decls
CFLAGS+= -I${SRCTOP}/lib/libpmcstat
LIBADD= pmc m util ncursesw pmcstat elf dwarf
SRCS= pmc.c pmc_util.c cmd_pmc_stat.c \
cmd_pmc_list.c cmd_pmc_filter.cc \
cmd_pmc_summary.cc \
cmd_pmc_frontend.cc cmd_pmc_record.cc cmd_pmc_info.cc \
display.cc util.cc view.cc
.include <bsd.prog.mk>