aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2019-10-02 18:30:07 +0300
committerGeorgi Djakov <georgi.djakov@linaro.org>2019-11-18 23:04:07 +0200
commit50d342794bdc964ea1b99ec4872c3b6b8655d3b2 (patch)
tree9a0c4cd3783561439e1efa99c59452c45900112c
parentc8d30135fa5af3d09299bb7c059694e5741e5fe2 (diff)
interconnect: Print the tag in the debugfs summary
Now we can have a tag associated with the path. Add this information to the interconnect_summary file, as the current information in debugfs might be misleading. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org>
-rw-r--r--drivers/interconnect/core.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/interconnect/core.c b/drivers/interconnect/core.c
index acc90c74668d..c83295ccdae0 100644
--- a/drivers/interconnect/core.c
+++ b/drivers/interconnect/core.c
@@ -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, " %-26s %12u %12u %12u\n",
+ dev_name(r->dev), r->tag, r->avg_bw,
r->peak_bw);
}
}