Module Name: src Committed By: riastradh Date: Sun Jan 19 19:49:37 UTC 2020
Modified Files: src/usr.bin/make: Makefile meta.c Added Files: src/usr.bin/make/filemon: filemon.h filemon_dev.c filemon_ktrace.c Removed Files: src/usr.bin/make: filemon.c filemon.h Log Message: Per sjg's suggestion, split filemon API into separate back ends. By default we use the ktrace back end, but the /dev/filemon back end is available as a compile-time option, by setting USE_FILEMON=dev in make. sjg raised concerns about ktrace performance and would like to continue using /dev/filemon on FreeBSD (which has seen more maintenance kernel-side) without forking make. To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/usr.bin/make/Makefile cvs rdiff -u -r1.1 -r0 src/usr.bin/make/filemon.c src/usr.bin/make/filemon.h cvs rdiff -u -r1.74 -r1.75 src/usr.bin/make/meta.c cvs rdiff -u -r0 -r1.1 src/usr.bin/make/filemon/filemon.h \ src/usr.bin/make/filemon/filemon_dev.c \ src/usr.bin/make/filemon/filemon_ktrace.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.