Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp928607ybl; Thu, 23 Jan 2020 10:17:25 -0800 (PST) X-Google-Smtp-Source: APXvYqykpa2UVv59Jjey9YeTYyw9edmb/ZAX81TOlJpEOmCvxXIsV0HRoPT2OEthF7xmQXHPkd0L X-Received: by 2002:a9d:6f11:: with SMTP id n17mr12202693otq.126.1579803445796; Thu, 23 Jan 2020 10:17:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579803445; cv=none; d=google.com; s=arc-20160816; b=igdfeBw45Yein28BcbevhywQv6QJYVoMqJJZQx3TwCjQqC4broECc6mZixzexFgCWB bHAsRaK5YcRKieGRx40SzP8+vaQVMKbkrEE+vURI0dVaiy6+HcH+n+nvcQ4BwQ6oQLl5 mSZIaP1BTD9uPBRtRH+S4d+yjQa24lQUlR0nfeTqr1PmpQeQ/IB5ZXCHxWE4ciLe1pqm 1SOvN9+1d7bIbpO1ocAQ5c9+smiIafbQq9HDy4GJQgv+Mp+OrHweIeep0X3Sorbfg+WA ap6e3gqY/Wk0RnfRwkd+G6nK3ppERfIacqGIVkMv0t6qmOWKm9YrfoZca/wFwrXfMB++ pFvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=IPfFPBRWsL1EVcinU4Hrc3imRF6TZRgKV6hWCzg9oRc=; b=Y8pFMCgjREizXXxkCn2bubC24v0TyCMPe7OxvcvthB6g/6P3CcV5+SaQlatG+PWfsl MSHh914H3oSkTJ0nvBVMW+vd/BT6zydiKrBKtOEzaVYOHuXBezr4ukiiGnBcvHqHyKiG O72EjiWEbtstvnMDKeZLEjMkoQdT9r9E347XpjXxnN6+Vb5WV9ZEHjpWKMqZoUXzdoEv XU5Zq4GdjCVDP3awjyRzTXc/R5cuwfw6fipFHonoWelYpOWs+2/QUUgvuvqjqbKFrpSu nus4ttemeqzLzCEujLoRyYMTERLhzY5tssUXly6WgmIaJqeqm7YXN38Kn+hjkUGgZ91P jj7g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a64si1393906oii.266.2020.01.23.10.17.04; Thu, 23 Jan 2020 10:17:25 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728911AbgAWSQ6 convert rfc822-to-8bit (ORCPT + 99 others); Thu, 23 Jan 2020 13:16:58 -0500 Received: from coyote.holtmann.net ([212.227.132.17]:51954 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727278AbgAWSQ6 (ORCPT ); Thu, 23 Jan 2020 13:16:58 -0500 Received: from marcel-macbook.fritz.box (p4FEFC5A7.dip0.t-ipconnect.de [79.239.197.167]) by mail.holtmann.org (Postfix) with ESMTPSA id 43A7ECED02; Thu, 23 Jan 2020 19:26:16 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\)) Subject: Re: [Bluez PATCH] doc: Add definition for Set Kernel Debug Level From: Marcel Holtmann In-Reply-To: Date: Thu, 23 Jan 2020 19:16:56 +0100 Cc: Johan Hedberg , Alain Michaud , BlueZ Content-Transfer-Encoding: 8BIT Message-Id: References: <20200120202708.111383-1-alainm@chromium.org> <6E55772A-01D5-4616-B3DB-CC22B935C855@holtmann.org> To: Alain Michaud X-Mailer: Apple Mail (2.3608.40.2.2.4) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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 need 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 switching when dynamic_debug is not available. Then you would use some debugfs toggle 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