Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8840926ybl; Fri, 17 Jan 2020 02:00:44 -0800 (PST) X-Google-Smtp-Source: APXvYqyYZH7KVEvFjL/IGmVkMuL96wwUiwn1QNKkJWXiy4lpUx1Wl+7ZtPbc2eCTn8KmXsLZ9vvO X-Received: by 2002:a05:6808:1c5:: with SMTP id x5mr2855402oic.57.1579255244446; Fri, 17 Jan 2020 02:00:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579255244; cv=none; d=google.com; s=arc-20160816; b=YyTodXaiREx2kT7zy1OQUAvMYFANBh22Z0nwySkFzAMhppY5daLQRoiiXSfPyeyT+9 f+cDQ0moF5m9VQYzgu/6yUvkdQWt2QnqWG/uOBuTp8Wvl3EC7T8Bvi8wZJC55oBhI9gj zQtjDOSjCH+oDq5idegPUA71I0VaNcgWCjcy+45OXQvSmIdPAnx1jgmRYBSSS6SHAER7 j3PBrRfEaST44K8mIBT4sMY84alaRDPYJx822EuEezwPQLrnhHmNgoU+UDLpcEAW+Llf 8Q0SKjAyERA0Ihe7n92GX96SolJ8WSKAFjMcd4ufNo1We5GA8HnPy+vedQfX8P8zodEQ R7pQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=o36RaHkWyNj2yjr65Y8zkIjoLWUVDNL+2aT4mOgUFjQ=; b=HxLMne6mgESRC5pBa5hGALAPN2KmqW4Bii59pEchv1lO5IOoLvTM9a3mLPHBXwzNwP 5i2vb+QAkHQefKaBnsJW7nHs+W7uY1IVcCYBbeMjnD8HL0Se513ZO7fJ3H1AEUY+XqrT k/lot/PbYNh0UtV5iX1YQNgwq/U6yv0hvDts9hu6LlKYYwYkvAcIfPV0P1JJ6BPPg1/f prwKWLyMVZ+AIRtCZs6VmzGRu7CkE7fqmk3IWGMzGsLMGiLOs3aiNVAb5ELih+r6TjWB ibuX2uB5tfTb66pGwmyYiFCOsY7erCo6bfYVRJn4LOUVYszS5zZud1mjD2HWflw1lzq/ umng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=orgmIPca; 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 w131si11313081oie.47.2020.01.17.02.00.32; Fri, 17 Jan 2020 02:00:44 -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=orgmIPca; 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 S1729261AbgAQJ7J (ORCPT + 99 others); Fri, 17 Jan 2020 04:59:09 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54983 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728935AbgAQJ6c (ORCPT ); Fri, 17 Jan 2020 04:58:32 -0500 Received: by mail-wm1-f68.google.com with SMTP id b19so6763822wmj.4 for ; Fri, 17 Jan 2020 01:58:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=o36RaHkWyNj2yjr65Y8zkIjoLWUVDNL+2aT4mOgUFjQ=; b=orgmIPca4KHssXZTIiaaRlV4cLwG+SS7V9EG7A4tIU2q56gAHfFgc1Twib1UcgnJrT geFR4EMjNQvLMfndpgqbSkRJhcBIHqJ8QItpx/EYI0Qup358daqOkMR8GVYQG06V5mkp Bp52h8Ri1gqeR7BKy2uEhqixPbp5iR13A9E3k0Kf6Jv7aaLKPuCuSOaT4n6u3R8qmzql 0pTSNN8VEvXOCAvDNmDbo8XToi1Rr7xwU6EKrw1RzgZwBFSvR35yrs+Kb5DRGR2SxCys Ri+r8bJBkzys0eDGWwf5v0QJUVUiKaYgnXB2IdlAV5bGW+Ne4r5R1xixW1PH3jN5pIY5 fxZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=o36RaHkWyNj2yjr65Y8zkIjoLWUVDNL+2aT4mOgUFjQ=; b=ciUzfrHaAZeAq9dEippN5XrDafrSVNGm9clCI+3lySlCznuxbQaELZvJN3SypE9e1B /phiaYEAxtd0V4hOpYNe8zrwVogLCdvOW4/eLK3GNbWbLZMptqv6+1Cb9VwTQQut7lnN q3D47hbs5/dHLyNkjdJnDMtQQXy/pIswWYw2mf1f0jCH3MVLkdgszhp+2vThCOdKtwkI zfSrPd3ARte6jMPGnR4zOQn0FfgUZblyNrX0C/ndBW7Xs4p9arG8ZUYvMlOTLeY95mSc yTtwKcwD9OrxQGcztFnauTJRzUmURZf1F2arJOhUM8E7ZVDhEa5g1T5VlCRWcDuQzbmD AOQA== X-Gm-Message-State: APjAAAVtfz/+dL5zxaDbyi6hfocnUNNs30HAUouxFcEdWIYjwvTTBY1t fBQoqiUi/+0MhJPwK6TiDRESWg== X-Received: by 2002:a1c:2187:: with SMTP id h129mr3619005wmh.44.1579255110547; Fri, 17 Jan 2020 01:58:30 -0800 (PST) Received: from localhost.localdomain ([212.45.67.2]) by smtp.googlemail.com with ESMTPSA id r62sm9967007wma.32.2020.01.17.01.58.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 17 Jan 2020 01:58:29 -0800 (PST) From: Georgi Djakov To: gregkh@linuxfoundation.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Georgi Djakov , Bjorn Andersson Subject: [PATCH 09/12] interconnect: Print the tag in the debugfs summary Date: Fri, 17 Jan 2020 11:58:13 +0200 Message-Id: <20200117095816.23575-10-georgi.djakov@linaro.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200117095816.23575-1-georgi.djakov@linaro.org> References: <20200117095816.23575-1-georgi.djakov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Reviewed-by: Bjorn Andersson Signed-off-by: Georgi Djakov --- 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 63c164264b73..10dde5df9251 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); } }