Re: [PATCH] xfs: allow disabling xfs tracepoints via Kconfig

From: Dave Chinner
Date: Mon Feb 04 2019 - 16:53:38 EST


On Mon, Feb 04, 2019 at 10:20:35PM +0100, Rasmus Villemoes wrote:
> linux/tracepoints.h allows individual subsystems to disable their
> tracepoints. Add such a knob for xfs. Disabling XFS_TRACEPOINTS
> reduces the resident size of xfs.ko by about a third, or ~350 KiB.

Ok, now we can't debug typical problems on live production systems
if tracepoints are turned off on the user/distro kernels. So under
what circumstances would we ever want to turn off tracepoints on
XFS?

Cheers,

Dave.
--
Dave Chinner
david@xxxxxxxxxxxxx