/freebsd/sys/dev/filemon/ |
H A D | filemon.c | 98 filemon_acquire(struct filemon *filemon) in filemon_acquire() argument 110 filemon_release(struct filemon *filemon) in filemon_release() argument 135 struct filemon *filemon; in filemon_proc_get() local 157 struct filemon *filemon; in filemon_proc_drop() local 179 filemon_drop(struct filemon *filemon) in filemon_drop() argument 189 filemon_write_header(struct filemon *filemon) in filemon_write_header() argument 251 filemon_close_log(struct filemon *filemon) in filemon_close_log() argument 285 struct filemon *filemon = data; in filemon_dtr() local 359 struct filemon *filemon; in filemon_ioctl() local 424 struct filemon *filemon; in filemon_open() local [all …]
|
H A D | filemon_wrapper.c | 89 filemon_output(filemon, filemon->msgbufr, len); in filemon_output_event() 96 struct filemon *filemon; in filemon_wrapper_chdir() local 120 struct filemon *filemon; in filemon_event_process_exec() local 154 struct filemon *filemon; in _filemon_wrapper_openat() local 239 struct filemon *filemon; in filemon_wrapper_rename() local 252 curproc->p_pid, filemon->fname1, filemon->fname2); in filemon_wrapper_rename() 265 struct filemon *filemon; in _filemon_wrapper_link() local 278 curproc->p_pid, filemon->fname1, filemon->fname2); in _filemon_wrapper_link() 320 struct filemon *filemon; in filemon_event_process_exit() local 345 struct filemon *filemon; in filemon_wrapper_unlink() local [all …]
|
/freebsd/contrib/bmake/filemon/ |
H A D | filemon.h | 37 struct filemon; 42 struct filemon * 44 int filemon_close(struct filemon *); 46 int filemon_setfd(struct filemon *, int); 47 void filemon_setpid_parent(struct filemon *, pid_t); 48 int filemon_setpid_child(const struct filemon *, pid_t); 50 int filemon_readfd(const struct filemon *); 51 int filemon_process(struct filemon *);
|
H A D | filemon_ktrace.c | 61 struct filemon; 92 struct filemon { struct 195 struct filemon * 198 struct filemon *F; in filemon_open() 246 filemon_closefd(struct filemon *F) in filemon_closefd() 282 filemon_setfd(struct filemon *F, int fd) in filemon_setfd() 316 filemon_setpid_parent(struct filemon *F, pid_t pid) in filemon_setpid_parent() 351 filemon_close(struct filemon *F) in filemon_close() 393 filemon_readfd(const struct filemon *F) in filemon_readfd() 408 filemon_dispatch(struct filemon *F) in filemon_dispatch() [all …]
|
H A D | filemon_dev.c | 53 struct filemon { struct 64 struct filemon * argument 67 struct filemon *F; in filemon_open() 93 filemon_setfd(struct filemon *F, int fd) in filemon_setfd() 108 filemon_setpid_parent(struct filemon *F MAKE_ATTR_UNUSED, pid_t pid MAKE_ATTR_UNUSED) in filemon_setpid_parent() 114 filemon_setpid_child(const struct filemon *F, pid_t pid) in filemon_setpid_child() 122 filemon_close(struct filemon *F) in filemon_close() 144 filemon_readfd(const struct filemon *F MAKE_ATTR_UNUSED) in filemon_readfd() 151 filemon_process(struct filemon *F MAKE_ATTR_UNUSED) in filemon_process()
|
/freebsd/tools/build/options/ |
H A D | WITH_META_MODE | 5 .Xr filemon 4 . 11 .Xr filemon 4 27 The target's meta file is missing filemon data when filemon is loaded 31 .Xr filemon 4 ] 35 .Xr filemon 4 ]
|
/freebsd/share/mk/ |
H A D | bsd.init.mk | 84 .if !exists(/dev/filemon) && \ 88 .warning The filemon module (/dev/filemon) is not loaded. 89 .warning META_MODE is less useful for incremental builds without filemon.
|
H A D | meta.sys.mk | 45 _filemon := ${.MAKE.PATH_FILEMON:U/dev/filemon} 146 .error ${.newline}ERROR: The filemon module (${_filemon}) is not loaded.
|
H A D | local.meta.sys.env.mk | 14 META_MODE+= missing-filemon=yes
|
/freebsd/contrib/bmake/ |
H A D | meta.c | 135 pbm->filemon = NULL; in meta_open_filemon() 139 pbm->filemon = filemon_open(); in meta_open_filemon() 140 if (pbm->filemon == NULL) { in meta_open_filemon() 669 pbm->filemon = NULL; in meta_job_start() 720 return filemon_readfd(pbm->filemon); in meta_job_fd() 734 return filemon_process(pbm->filemon); in meta_job_event() 811 if (pbm->filemon != NULL) { in meta_cmd_finish() 814 if (filemon_close(pbm->filemon) == -1) { in meta_cmd_finish() 822 pbm->filemon = NULL; in meta_cmd_finish() 1639 pbm->filemon = NULL; in meta_compat_start() [all …]
|
H A D | meta.h | 36 struct filemon *filemon; member
|
H A D | configure.in | 95 AC_ARG_WITH(filemon, optwith 96 [ --with-filemon={no,dev,ktrace,path/filemon.h} indicate filemon method for meta-mode. Path to fil… 100 */filemon.h) filemon_h="${withval}";; 101 */filemon*) filemon_h="${withval}/filemon.h";; 102 *) AC_MSG_ERROR(bad value ${withval} given for filemon) ;; 112 … for d in "/usr/include/dev/filemon" "$prefix/include/dev/filemon" "$srcdir/../../sys/dev/filemon" 116 filemon_h="$d$x/filemon.h"
|
H A D | make-bootstrap.sh.in | 84 dev,*/filemon.h) FDEFS="-DHAVE_FILEMON_H -I`dirname @filemon_h@`";; 87 do_compile filemon_@use_filemon@.o filemon/filemon_@use_filemon@.c ${FDEFS}
|
H A D | boot-strap | 98 # Even without filemon(9) meta mode is very useful 102 # --without-filemon 103 # disable use of filemon(9) which is currently only 106 # --with-filemon=ktrace 108 # version of filemon. 110 # --with-filemon="path/to/filemon.h" 111 # enables use of filemon(9) by meta mode.
|
H A D | Makefile | 61 .PATH: ${srcdir}/filemon 67 FILEMON_H ?= /usr/include/dev/filemon/filemon.h
|
/freebsd/sys/modules/filemon/ |
H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/dev/filemon 4 KMOD= filemon
|
/freebsd/tools/kerneldoc/subsys/ |
H A D | Doxyfile-dev_filemon | 6 PROJECT_NAME = "FreeBSD kernel filemon device code" 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/filemon/ \
|
/freebsd/usr.bin/bmake/ |
H A D | Makefile.config | 25 FILEMON_H?= /usr/include/dev/filemon/filemon.h
|
H A D | Makefile.inc | 37 FILEMON_H ?= ${SRCTOP}/sys/dev/filemon/filemon.h
|
H A D | Makefile | 73 .PATH: ${srcdir}/filemon 79 FILEMON_H ?= /usr/include/dev/filemon/filemon.h
|
/freebsd/tools/test/stress2/misc/ |
H A D | syzkaller62.sh | 75 kldstat | grep -q filemon || { kldload filemon.ko && loaded=1; }
|
/freebsd/contrib/bmake/mk/ |
H A D | meta.sys.mk | 45 _filemon := ${.MAKE.PATH_FILEMON:U/dev/filemon} 146 .error ${.newline}ERROR: The filemon module (${_filemon}) is not loaded.
|
/freebsd/ |
H A D | Makefile | 297 .if !exists(/dev/filemon) && !defined(NO_FILEMON) && !make(showconfig) 299 .error ${.newline}ERROR: The filemon module (/dev/filemon) is not loaded. \ 300 ${.newline}ERROR: WITH_META_MODE is enabled but requires filemon for an incremental build. \ target
|
/freebsd/etc/mtree/ |
H A D | BSD.include.dist | 128 filemon
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | meta-ignore.inc | 57 # so that our filemon trace will have a reference to it
|