85a9f299f9
the currently-running kernel (and supercedes an executable file argument given). With this change, properly-compiled KLD modules are now able to be profiled. Obtained from: NAI Labs CBOSS project Funded by: DARPA
16 lines
436 B
Makefile
16 lines
436 B
Makefile
# This was cloned from the Makefile for gprof by changing PROG from gprof
|
|
# to gprof4, adding NOMAN and PATH, adding -DGPROF4 to CFLAGS and deleting
|
|
# beforeinstall.
|
|
|
|
# @(#)Makefile 5.17 (Berkeley) 5/11/90
|
|
# $FreeBSD$
|
|
|
|
PROG= gprof4
|
|
NOMAN= noman
|
|
SRCS= gprof.c aout.c arcs.c dfn.c elf.c lookup.c ${MACHINE_ARCH}.c hertz.c \
|
|
printgprof.c printlist.c kernel.c
|
|
CFLAGS+=-DGPROF4
|
|
.PATH: ${.CURDIR}/../../usr.bin/gprof
|
|
|
|
.include <bsd.prog.mk>
|