[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8d36092f-adea-a025-380f-a97de6bc93e0@rasmusvillemoes.dk>
Date: Tue, 5 Feb 2019 11:00:20 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Dave Chinner <david@...morbit.com>
Cc: "Darrick J. Wong" <darrick.wong@...cle.com>,
linux-xfs@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xfs: allow disabling xfs tracepoints via Kconfig
On 05/02/2019 00.13, Dave Chinner wrote:
> On Mon, Feb 04, 2019 at 11:12:57PM +0100, Rasmus Villemoes wrote:
>> On 04/02/2019 22.53, Dave Chinner wrote:
>>> 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.
>
> Do you have a specific need for this, or is it just "I noticed this,
> here's a patch"?
A little of both, actually. I noticed it, did the patch for the kernel I
use on my laptop, and thought others might find it useful. But no, I
don't currently deal with any customer boards where it'd be relevant.
> If you need it and will use it, great, let's add
> it. But config options that don't ever get used tend to rot....
Fair enough, I'll just keep it privately and resend if I encounter a use
case in the wild.
Rasmus
Powered by blists - more mailing lists