Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2342183rwa; Mon, 22 Aug 2022 06:19:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR7M0Uojle9NqoIxKyFdiWUqJGnRi4hQZUok1vEmzyHjECmM/uTcJL5yrHbb8dxXnkQBtLUR X-Received: by 2002:a65:4d0e:0:b0:42a:88f7:d723 with SMTP id i14-20020a654d0e000000b0042a88f7d723mr7542057pgt.400.1661174389368; Mon, 22 Aug 2022 06:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661174389; cv=none; d=google.com; s=arc-20160816; b=gks50YkDaXZe/Sgn11cPAO7h/pD0tvhNh0v6+pgYJGAw3256PoqkugD5EUTTMai5Pl wU1yAMmUcSlf5wvglae4Df1a2hmM0PYd8rbD7IXVfCRLH1vA6m99uX5TBXxsTAqlQToM eL2xfG0jfX8xggwlxNYlV2aWJveUDuearG9NgJnZW200kCYt7ivZoD6Q4/LRWcFWNmrr xYaNN6HYshQBEyXtLh97LoxXFoJ3wa8lj2I1EQnYQdLG92QNJCC91imZmVnUBpgJf+vv Wj9OhffS0XyDyNxVZgKsK+sFWYr5PGc3N+8+yOx5o/MoQIYwU+6005kLt4BV+G8uBs1I GPng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=gTrafLBVeTAjQAd1U4zlugqUVWOXQNVisiVqWpGcJUU=; b=r/hBkroibvD/tjpV3xGAGwgDhzO/S9U0/BYKY192svTuPii4F1eO8RtThA5BAIuZy5 t1yQ8uxrWCMEKV8IX91OuffiTYVcfphA/zYFplNhsP65Mu2yO4EmzqTF2mL9KChSgr5h 6Bi8Ta3IRiE+KrmsOAHtMhvLx2Ec95IHBfeR00NbhG2qAj6X84yXhaqm32TFiYMvG0NN zCKNFWQTJqXZEp5PPxF2GqHgPgzoOEcz7Shz4vPUfiYtbPFz1O4McggiZl5QJ1z9SlM5 Ve4QcQkbCGSV/PTCUVLlEWwdV9HSFsfpsIzzzpvDKJqPfxiAAi2x+SA3ABVkJMYyXFeV h6XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TfyVeX07; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u14-20020a056a00098e00b0052f80d1a588si14302096pfg.44.2022.08.22.06.19.35; Mon, 22 Aug 2022 06:19:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=TfyVeX07; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232071AbiHVNGK (ORCPT + 99 others); Mon, 22 Aug 2022 09:06:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231927AbiHVNGI (ORCPT ); Mon, 22 Aug 2022 09:06:08 -0400 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FA531E3CE for ; Mon, 22 Aug 2022 06:06:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661173568; x=1692709568; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=G4hBATmLM/5HOkJqWP9Jt5co1zzgbB7M4mIwYzwwRe8=; b=TfyVeX07RSsaDF0IzjVYSK99XWzChNL4YShTKN2rwoe7i0GELxPvY7of v0YVxHZ/VH86R3RkOAQhAWcZ8ac8T+JZzsrjxzDaCl/s4//3r0fANEWxQ 4l8kYJBku16wK7m8MzEiNeyIEGLp9vP654voQpsxPJvBdIbG0r7jBZPvq tC6vHdtIGQV+lSA4kSdXa6lg7G0bmClMfjQni0TLiqYlyWhZUMEuk6RQM m1k+xZie7n/m2DERJE90ZNVIu8LeY8SbaCG2NZmN/IsVjwJ8Nu6T8lS44 jEONlSFIiuPfjOZ1O3rnSF3aUefHRsa6TBKQekJB9NVSIjUSO1udtVj6V Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10447"; a="379698498" X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="379698498" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 06:06:07 -0700 X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="712176290" Received: from mhakkine-mobl4.ger.corp.intel.com (HELO [10.249.43.69]) ([10.249.43.69]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Aug 2022 06:06:06 -0700 Message-ID: <19b60ea9-6bee-1cc9-5384-89231fce3a99@linux.intel.com> Date: Mon, 22 Aug 2022 15:06:03 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.11.0 Subject: Re: [PATCH] ASoC: dapm: Export new 'graph.dot' file in debugfs Content-Language: en-US To: =?UTF-8?Q?Martin_Povi=c5=a1er?= , Mark Brown Cc: alsa-devel@alsa-project.org, Liam Girdwood , Alyssa Rosenzweig , linux-kernel@vger.kernel.org References: <20220822095242.3779-1-povik+lin@cutebit.org> <3234D74E-0DFF-4BB5-87ED-6135BAC1F31D@cutebit.org> From: Pierre-Louis Bossart In-Reply-To: <3234D74E-0DFF-4BB5-87ED-6135BAC1F31D@cutebit.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> Provide a DOT summary of the DAPM graph in a newly added 'graph.dot' >>> file in debugfs, placed in the card's DAPM directory. >> >> There was a tool floating about in the past (last copy I knew about was >> on Wolfson's git but they took that down) - can we not just continue to >> do that? > > I don’t know the tool or where would I find it. I think it’s neat > simply having a ‘graph.dot’ at hand, especially since it requires > little code. (Although sure there’s the danger of it growing.) The Chrome folks used an 'asoc_dapm_graph' python script since 2014 according to the copyright information. IIRC it was python2 so might need a bit of work. https://chromium.googlesource.com/chromiumos/third_party/adhd/+/refs/heads/master/scripts/asoc_dapm_graph