Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3411149ybl; Fri, 20 Dec 2019 08:52:37 -0800 (PST) X-Google-Smtp-Source: APXvYqzbdHF4Qq0JPou3R9Dj/gpZITcT3IsI0j6BvOOIN1xWqmqKGXUYIgkqk/qGdsiFjKVs1N+l X-Received: by 2002:a05:6830:1c85:: with SMTP id v5mr16688592otf.35.1576860757112; Fri, 20 Dec 2019 08:52:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576860757; cv=none; d=google.com; s=arc-20160816; b=gqfzW/+u+3SoIokaK5DCOXjnhXcp9R/sGD3JiaSVCb6iopht40+XD7TVKFmiRCaRmQ Tdg0ry2w3NF3EdMQaZFOzLx4fhTOR3ZfsP9kDqYykEmGySsRWgZ9goLNoRbDS5U9sfvL flpRuAw902mDGkFloesgMlYeCYGLWf/BtwJ3AYxzEEeRsvmAaJ8N0HQflnMPHoUjvBVh sdDbKHHxV8QGeOpe+RXRydXwPQoPpBZodda7wDZb3t+Kq5QDIWf5OUdAglBBjUCrr6Cu qH0lXc1YH+jD/dRtTGItFkMc1anq7bIgyINURXHBrbW8iDzpCMl5L/AHayx4jKx0swQo SvgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ajRMXmSY5Z78AT9GSMVh3nOVbX/834wxTwFR9fI4zHM=; b=a04clIdusXlThoTozHmki9nwLPeLnybAOqaWSu1DlMvTUUU2cPTljAiK94bgraWIMl e7AzE3Hq7LJyqcn1a+Scl2M2hL/+9BhcZI3gxsLgHo4LOXzEDi4lNdJvlUPFAQbnH/az Lr/3FH3RUu+uC1wzVUtXU2BLSFzn6nvd3JreijlYeoXwlCincpBQB7Id+gO3WzxB/JLW wR8K4pVFFPM9UIC8w6g8jp/UCCO8HpYa0sOHwThUaEnSbC9u7B5yOXCrOozsgtwyrjuY GRtMGhIvCSZM2Rwe6R4el6mdfDG2w1RaOCHvSjffattZux+5p9b5hIYYCTVqMhmjErzi bNBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="OjR2Le/o"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i9si5803868otp.139.2019.12.20.08.52.23; Fri, 20 Dec 2019 08:52:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-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=@linaro.org header.s=google header.b="OjR2Le/o"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727403AbfLTQvT (ORCPT + 99 others); Fri, 20 Dec 2019 11:51:19 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:42545 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727181AbfLTQvT (ORCPT ); Fri, 20 Dec 2019 11:51:19 -0500 Received: by mail-pf1-f194.google.com with SMTP id 4so5505143pfz.9 for ; Fri, 20 Dec 2019 08:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=ajRMXmSY5Z78AT9GSMVh3nOVbX/834wxTwFR9fI4zHM=; b=OjR2Le/o8ntDEe4xbiK3QMrmk+HoKDxJ0eX6ZW6uIbmNkMBvA2Z8QZalLMPolr8CS1 FiBW3JQZj6ltgIkwlUvZN/NHSGaBUqD9NMYO6izQH4+ml+1NDa4GHJiL9LQYWnzK41Nh jlAFb/SgNTGjwGuzVneS6l/gAgh0jFhf5PTgp2c3qUDD1KDGLyQC0aY0b6ISZa6biH3d D/AunXca2raciTtijZRIH9twGkMZH7UPNCYX91KJRETCionZN5JhCioVgvZ9gvQtLvhy k/vhAvp3spGeR8dztmCLBrUC2iA/62Sj3jkk+eCCzBFe/UuBBER9lXhJQTn92jE2c5iw emmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=ajRMXmSY5Z78AT9GSMVh3nOVbX/834wxTwFR9fI4zHM=; b=X1lpUl2q9rtRG8lwahNxqqR/NraTYbFtWbSVRfmK8koZGSX/x2l4TA3tEWKxYegBVj FmzEwPWctsUNHJOse02weV7gCI5bzMsJ4wj7/aWeHIJA1jvJgUdKRPyhcIgHL5ZxIyPl 9zNEjdZbp6aSMejXvppNx2PuptR/TewhfMf3w5MY3F3RUfLC+gHFEcXnu0x4uvRlJt+w x9D75qGkWztXauIjrUqdRC1OXpyAXxAKep0nSlTH16GlVoIOeGw8/xDfXZhVuKyDCndU r7F+cpnnLu1HysYO0SLZh1mG9v2wSdSXh12G8NTztmQpLhq1VFC9DgNaslUBgU8XsjA4 uV3w== X-Gm-Message-State: APjAAAVKG0bNe8Xrhk01MRVQgg7ydDkARL/ptPb3LzlMzPGL+r5Kcy3X Fht06o6CUYwhdpC2zCm2uA+Cj74UUlM= X-Received: by 2002:a62:296:: with SMTP id 144mr17326034pfc.120.1576860677016; Fri, 20 Dec 2019 08:51:17 -0800 (PST) Received: from yoga (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id g9sm13930844pfm.150.2019.12.20.08.51.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Dec 2019 08:51:16 -0800 (PST) Date: Fri, 20 Dec 2019 08:51:13 -0800 From: Bjorn Andersson To: Georgi Djakov Cc: linux-pm@vger.kernel.org, evgreen@chromium.org, daidavid1@codeaurora.org, okukatla@codeaurora.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] interconnect: Print the tag in the debugfs summary Message-ID: <20191220165113.GB549437@yoga> References: <20191220163846.6485-1-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191220163846.6485-1-georgi.djakov@linaro.org> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 20 Dec 08:38 PST 2019, Georgi Djakov wrote: > Now we can have a tag associated with the path. Add this information > to the interconnect_summary file, as the current information in debugfs > is incomplete. > > Signed-off-by: Georgi Djakov Reviewed-by: Bjorn Andersson > --- > drivers/interconnect/core.c | 10 +++++----- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c > index 1867fad56c0f..ae80fbea5d2d 100644 > --- a/drivers/interconnect/core.c > +++ b/drivers/interconnect/core.c > @@ -34,7 +34,7 @@ static void icc_summary_show_one(struct seq_file *s, struct icc_node *n) > if (!n) > return; > > - seq_printf(s, "%-30s %12u %12u\n", > + seq_printf(s, "%-42s %12u %12u\n", > n->name, n->avg_bw, n->peak_bw); > } > > @@ -42,8 +42,8 @@ static int icc_summary_show(struct seq_file *s, void *data) > { > struct icc_provider *provider; > > - seq_puts(s, " node avg peak\n"); > - seq_puts(s, "--------------------------------------------------------\n"); > + seq_puts(s, " node tag avg peak\n"); > + seq_puts(s, "--------------------------------------------------------------------\n"); > > mutex_lock(&icc_lock); > > @@ -58,8 +58,8 @@ static int icc_summary_show(struct seq_file *s, void *data) > if (!r->dev) > continue; > > - seq_printf(s, " %-26s %12u %12u\n", > - dev_name(r->dev), r->avg_bw, > + seq_printf(s, " %-27s %12u %12u %12u\n", > + dev_name(r->dev), r->tag, r->avg_bw, > r->peak_bw); > } > }