Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp930745ybl; Thu, 23 Jan 2020 10:19:41 -0800 (PST) X-Google-Smtp-Source: APXvYqzF4iT+xMbROVrBHFvmrr4+gmZDpHsRiaEpvy5VrFmcc+RoTsiIPgeX+LYrO0Ay7F7VobKm X-Received: by 2002:a54:4085:: with SMTP id i5mr11546108oii.17.1579803581340; Thu, 23 Jan 2020 10:19:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579803581; cv=none; d=google.com; s=arc-20160816; b=nddFOyocu+cc7ME3rFBPPeqgmzSnv80PyswJVefPmPqSbPvq8/UJAIHe3p8eVLsAtl D93E8OwTfkbQg/3UEP5Cw94oVS39yjfSjXFOPyXMCq0Oo9gsZOl16N089G5YLIc/YnDd 2HM0pYp3REmTBOGWP2eEo8dxxIy0r+l5yO3XM/8VnI8CXZB1gEkj2DBsGKiAVemZTxym 0O8T50ldHXIpbr+rq1i9h9fBX878wXWcfXl3e7ZNHTm+pMoedloYgJ/jHYS0wQuckPSd c+R9JePcjEtnRqMIjwo20aTMbTpPHqwwlUNLCie0lqUM9M9+uxLwRxm6JFgGofPK1nei mkfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=GgjRp5rLRonO/ZU5BfCUTdYCUWJZ13Z1t1s6bRUsqd0=; b=LK96EpX4elPocfFfU/8LJzTntK0aLq9WPNMUBo2ix1iu0+croSsOilQPRVFqajgpgD F0mfbSLg5WxSIAUaSxKTATAV21cvjN6lvF4301/c8CAZty/gSywQ4FxHX5P5ZOyT/NgO wbffEiKR+tbuqtSZNqE66PvpAmSPiJRtJOX1H1bByV8EcZI0ilk9BsNHQacB9zbsurGD gBBe53grmR0O9U4xWWHmldcU2MXve2NgnlWVh9Bc9OGRL9Hkv/UDnxzLtpvL5XxY1FZv 3pRgOwwYA4Du/pTAu19Ecpio+uVR3EpNwdkicNIzbntVqvOl/N69y+GoUYrkmLYmKTPa 4Dyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NzufNcOK; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si1161455oij.189.2020.01.23.10.19.29; Thu, 23 Jan 2020 10:19:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=NzufNcOK; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728928AbgAWSTJ (ORCPT + 99 others); Thu, 23 Jan 2020 13:19:09 -0500 Received: from mail-lj1-f195.google.com ([209.85.208.195]:35836 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728803AbgAWSTJ (ORCPT ); Thu, 23 Jan 2020 13:19:09 -0500 Received: by mail-lj1-f195.google.com with SMTP id j1so4694659lja.2 for ; Thu, 23 Jan 2020 10:19:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=GgjRp5rLRonO/ZU5BfCUTdYCUWJZ13Z1t1s6bRUsqd0=; b=NzufNcOKQ5pRI6mIoPD+mqksuWhHOQ7WDlBlhckKqk3W5LGUrBhtXbZENkx0CBoO81 pQvqBa/GRJh0BAT9EiEvHUgxc2ut96ULOc6wbuhZwgQuwZUVn3UyWcWA91eGpLouGaKi b2bd/AO6qo3WgK63iD/Uo+9CGy1Ft/pw9USk3It6+8T40sTh72ueC7BuXVg895QzekSI tQkN+LmXyUrlkf6sSASjwI6IROKGwgSiUzgZQLmb0o0UxEGDoHT5jdn7u5+mdAk5urNr 2kNRXpFL7IPdDVRZONurqriHKvOk2xUWy9FAShsh1GL483wFiTDnHpBcIsWUXZBoBykx J7rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=GgjRp5rLRonO/ZU5BfCUTdYCUWJZ13Z1t1s6bRUsqd0=; b=sPf9Fv3Rgq3VMyniDI+xXI4aIBYLo5HVzgpzaGqobNLfo7OM3q2IOSqzEjeNOV3nFI ig0j8e+cPOUmc4/AscC8LzN5wknZF9CKCgaAPx4Lu550K/MV8FlxsezOoNJ1xPlFa0rv dxTZh/MQ9fJASY6nICnfaKWTGlh/+nxI8lw0zTqGQ6DoDX3izUANg9GYSw1nRhWN9dxl oBuxNzK1BICofzL7gEAsQh0BPtA0shufK5CD9Jkb7Y0VxdDJ2sChSeJWHa6atQ2wnPX6 5u+YCvFDWZRr2YTzyA4umrmqUG370YfAxRMENTL0MdHK/hnbViaQFLUKymS5zdHPo624 PH1w== X-Gm-Message-State: APjAAAVAg1bGyFlPsNnp+V9WyvDikNb1xpAf5rTWQhzyCty+C6qW30tq J1M/9gBY2R1d06pLsfxoFQnSSi4YkV4e9i9HX2n38w== X-Received: by 2002:a2e:7816:: with SMTP id t22mr24424153ljc.161.1579803546697; Thu, 23 Jan 2020 10:19:06 -0800 (PST) MIME-Version: 1.0 References: <20200120202708.111383-1-alainm@chromium.org> <6E55772A-01D5-4616-B3DB-CC22B935C855@holtmann.org> In-Reply-To: From: Alain Michaud Date: Thu, 23 Jan 2020 13:18:55 -0500 Message-ID: Subject: Re: [Bluez PATCH] doc: Add definition for Set Kernel Debug Level To: Marcel Holtmann , Archie Pusaka Cc: Johan Hedberg , Alain Michaud , BlueZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, That makes sense. Adding +Archie Pusaka as well who may have input into th= is. Thanks, Alain On Thu, Jan 23, 2020 at 1:16 PM Marcel Holtmann wrote= : > > Hi Alain, > > > From a high level, this looks good for me although I agree, this is an > > order of magnitude bigger in terms of scope. Can you suggest perhaps > > an interactive way to deliver this over a period of time, perhaps > > prioritizing the BT_DEBUG kernel messages first? :) > > I am always in favor of increasing the ability to debug things, but we ne= ed to do this in a clean fashion and not some short term hacks (since they = will come back and haunt us). I like to get some review on my idea first. > > What we could do is work on the BT_DBG etc infrastructure to allow switch= ing when dynamic_debug is not available. Then you would use some debugfs to= ggle in /sys/kernel/debug/bluetooth since that is no stable API for us (and= of course the clear understanding that this toggle is temporary). > > Regards > > Marcel >