From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9BDD5C433DB for ; Fri, 5 Mar 2021 16:17:24 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1EEC6508B for ; Fri, 5 Mar 2021 16:17:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1EEC6508B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 0B2ED178E; Fri, 5 Mar 2021 17:16:32 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 0B2ED178E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1614961042; bh=1xu77uD+VXVlvtpoK3zEEVQfMpVBOXWIwT1Mr8w3PfQ=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=g55UvdA2fRII9aY6eznfpygGetiPByUS+8+jlssJ7rWze7myq6m/coSnHocp/ZX3M utBy1thMqt1c4e0u/OHo291cJT1e8u2kkfUJknb2yLXXZS9fv5wH9LadR/SDV1/PCj ylzQeOH52VQAEsDWrqXF7vZZIq4mjXzHhp8110IM= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 60A7DF800ED; Fri, 5 Mar 2021 17:16:31 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 9C86EF8025E; Fri, 5 Mar 2021 17:16:29 +0100 (CET) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id CC4A5F800ED for ; Fri, 5 Mar 2021 17:16:20 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz CC4A5F800ED Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oDRuis/P" Received: by mail.kernel.org (Postfix) with ESMTPSA id E4B886508D; Fri, 5 Mar 2021 16:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1614960978; bh=1xu77uD+VXVlvtpoK3zEEVQfMpVBOXWIwT1Mr8w3PfQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oDRuis/Prdh8zclDMHjFE+wphzbOvt6ntWuuOlx6UUJ1ql6q0MCZFdNn6L9s48ndM sCqExwwyipreRYJyNMouWAIjlLr1oNZKBlhmzcwQDRxc92tSely8fcxL81VxwfLB9d 8Da0kEZLcGjlaU8IZbgkz65Bn/EDk8nptPMNf4iBtklRxmIJdohkhjqqXzvX8xuM+h 7/RJmPmBVILGAaO1ZEyEFJVdQDQJv6pvx+3PJlp6Z9LqNxPqPEwSzRj4oTIzhjIjXH N3e5DG+y6Owpbdx66DddL6d/wRVZNxzigED7dTSZ3Ei3M+ZDKLs8ZTCbUc4VdjYmwJ U0Ss+lJRqIQiQ== Date: Fri, 5 Mar 2021 16:15:09 +0000 From: Mark Brown To: b_lkasam@codeaurora.org Subject: Re: [PATCH V1] Add debug print in soc-dapm Message-ID: <20210305161509.GB4552@sirena.org.uk> References: <1614927242-19251-1-git-send-email-lkasam@codeaurora.org> <20210305095943.GA4552@sirena.org.uk> <3511da77c7cc3fa03837dbf9cb03b1c6@codeaurora.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="tsOsTdHNUZQcU9Ye" Content-Disposition: inline In-Reply-To: <3511da77c7cc3fa03837dbf9cb03b1c6@codeaurora.org> X-Cookie: Shipping not included. User-Agent: Mutt/1.10.1 (2018-07-13) Cc: Laxminath Kasam , alsa-devel@alsa-project.org, tiwai@suse.com X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" --tsOsTdHNUZQcU9Ye Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 05, 2021 at 08:07:19PM +0530, b_lkasam@codeaurora.org wrote: > On 2021-03-05 15:29, Mark Brown wrote: > > this if you like? I can see that the separate tracepoint would be > > useful, I mostly use the regmap tracepoints for that purpose but not > > every widget has register I/O. Tracepoints are less noisy for the > > system as a whole than tracing every DAPM operation in dmesg, that tends > > to irritate other users if it's left in as standard. > Thanks Mark for the response. But this is not default err/info print and > only dynamic debug print which should not result in noise. In case of > customer OEMs/final product versions where less options of debugging, > dynamic dmesg logging is preferable provided faster and this print is used > to identify issues debug fastly sometimes. This is precisely the use case tracepoints were added for and I know that they are being succesfully used in the development of major mobile handsets. They are very low overhead, you can even leave them recording in production usage without getting in anyone's way, and they're also simple to flip on and off at runtime. =20 --tsOsTdHNUZQcU9Ye Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmBCWQwACgkQJNaLcl1U h9D+Lwf8CfV40VepKi5yyNLvLoj3F1TQLeI1XogmcmHCOGO/U397AUUAtgU96S9C U3pcxVBd/9qDaqjabGYop5EH4wG01nrShI44H6kvu7ytFbbyXsxTG2wUb+3xX6ZE z1AiJ0J8TWmPSu5ISx/wag68hUUT/pVwhYkmkBq9K69fEdXJzL1rocuEVDqYxx0d uhbvXLBh3ZOz3TbmvJlc6C4HFN7+PIQpsZiIT9OlKGZ92hGRQ0gwxqOc8Igv3BW5 2G2FrIWtOY/KTRvpanulcVrJ+iF1glePjMgDLem7huX3cEy19H0eQnTlyZasCeRE mSGKmKbK+3jvxWhsUvap0zj0F+ezKg== =BVpe -----END PGP SIGNATURE----- --tsOsTdHNUZQcU9Ye--