Skip to content

Commit 2c5127a

Browse files
author
Georgi Djakov
committed
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 is incomplete. Reviewed-by: Bjorn Andersson <[email protected]> Signed-off-by: Georgi Djakov <[email protected]>
1 parent 1a0013c commit 2c5127a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

drivers/interconnect/core.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,16 @@ static void icc_summary_show_one(struct seq_file *s, struct icc_node *n)
3434
if (!n)
3535
return;
3636

37-
seq_printf(s, "%-30s %12u %12u\n",
37+
seq_printf(s, "%-42s %12u %12u\n",
3838
n->name, n->avg_bw, n->peak_bw);
3939
}
4040

4141
static int icc_summary_show(struct seq_file *s, void *data)
4242
{
4343
struct icc_provider *provider;
4444

45-
seq_puts(s, " node avg peak\n");
46-
seq_puts(s, "--------------------------------------------------------\n");
45+
seq_puts(s, " node tag avg peak\n");
46+
seq_puts(s, "--------------------------------------------------------------------\n");
4747

4848
mutex_lock(&icc_lock);
4949

@@ -58,8 +58,8 @@ static int icc_summary_show(struct seq_file *s, void *data)
5858
if (!r->dev)
5959
continue;
6060

61-
seq_printf(s, " %-26s %12u %12u\n",
62-
dev_name(r->dev), r->avg_bw,
61+
seq_printf(s, " %-27s %12u %12u %12u\n",
62+
dev_name(r->dev), r->tag, r->avg_bw,
6363
r->peak_bw);
6464
}
6565
}

0 commit comments

Comments
 (0)