freebsd-dev/sys/fs/fuse
Alan Somers 080518d810 fusefs: convert debug printfs into dtrace probes
fuse(4) was heavily instrumented with debug printf statements that could
only be enabled with compile-time flags. They fell into three basic groups:

1. Totally redundant with dtrace FBT probes. These I deleted.
2. Print textual information, usually error messages. These I converted to
   SDT probes of the form fuse:fuse:FILE:trace. They work just like the old
   printf statements except they can be enabled at runtime with dtrace. They
   can be filtered by FILE and/or by priority.
3. More complicated probes that print detailed information. These I
   converted into ad-hoc SDT probes.

Also, de-inline fuse_internal_cache_attrs.  It's big enough to be a regular
function, and this way it gets a dtrace FBT probe.

This commit is a merge of r345304, r344914, r344703, and r344664 from
projects/fuse2.

Reviewed by:	cem
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D19667
2019-03-29 02:13:06 +00:00
..
fuse_device.c fuse(4): convert debug printfs into dtrace probes 2019-02-28 19:27:54 +00:00
fuse_file.c fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00
fuse_file.h Fuse: whitespace and style(9) cleanup 2019-02-20 02:49:26 +00:00
fuse_internal.c fuse(4): remove more debugging printfs 2019-03-19 17:49:15 +00:00
fuse_internal.h fuse(4): remove more debugging printfs 2019-03-19 17:49:15 +00:00
fuse_io.c MFHead@r345275 2019-03-18 19:21:53 +00:00
fuse_io.h sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
fuse_ipc.c fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00
fuse_ipc.h fuse(4): remove more debugging printfs 2019-03-19 17:49:15 +00:00
fuse_kernel.h fuse(4): add tests related to FUSE_MKNOD 2019-03-05 00:27:54 +00:00
fuse_main.c fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00
fuse_node.c fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00
fuse_node.h Fuse: whitespace and style(9) cleanup 2019-02-20 02:49:26 +00:00
fuse_param.h Update link count handling in fuse for post-ino64. 2017-12-19 22:40:54 +00:00
fuse_vfsops.c fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00
fuse_vnops.c fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00
fuse.h fusefs: convert debug printfs into dtrace probes 2019-03-29 02:13:06 +00:00