From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754471Ab2LRSKI (ORCPT ); Tue, 18 Dec 2012 13:10:08 -0500 Received: from perches-mx.perches.com ([206.117.179.246]:35947 "EHLO labridge.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754066Ab2LRSKE (ORCPT ); Tue, 18 Dec 2012 13:10:04 -0500 Message-ID: <1355854204.30366.11.camel@joe-AO722> Subject: vfs trace points?: was: cifs: Do not enable debugging code by default From: Joe Perches To: Steve French Cc: Borislav Petkov , Jeff Layton , LKML , Steve French , linux-cifs@vger.kernel.org, Theodore Tso , Al Viro Date: Tue, 18 Dec 2012 10:10:04 -0800 In-Reply-To: References: <1355737085-6671-1-git-send-email-bp@alien8.de> <20121218071317.01cbc41b@tlielax.poochiereds.net> <20121218144452.GB31255@liondog.tnic> <20121218100702.478fc1b1@tlielax.poochiereds.net> <20121218151904.GC31255@liondog.tnic> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.6.0-0ubuntu3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2012-12-18 at 09:33 -0600, Steve French wrote: > On Tue, Dec 18, 2012 at 9:19 AM, Borislav Petkov wrote: > > On Tue, Dec 18, 2012 at 10:07:02AM -0500, Jeff Layton wrote: > >> Yeah, not many do, but presumably they'll set it once and forget about > >> it. Once someone straightens them out, they should rarely break. > >> > >> OTOH, the value of defaulting to "N" is pretty low here. Maybe it > >> would just be best to just drop this patch and have the embedded folks > >> turn this off on their own. > > > > Yeah, sure. > > I am ok with disabling it for embedded, but probably easier to drop > it. The real benefit will come when someone familiar with dynamic > trace points comes up with some good examples for file system(s) and > the VFS so we can reduce our dependency on static tracing. I'm fine with requiring embedded to turn this off where appropriate. It seems that keeping cifs KERN_DEBUG output for normal kernels is pretty cost free. 120KB ain't much these days. I do think that Al Viro & Ted Ts'o should be pinged about their vfs tracing thoughts. (cc'd) MIT seems to bounce my emails, so maybe you could ask Ted directly.