Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82be416c authored by yangdongdong's avatar yangdongdong Committed by Dmitry Shmidt
Browse files

power: align wakeup_sources format



This aligns every column of elements in wakeup_sources to
conveniently check any specific column for suspicious power
consumption wakeup source or for other easily human readable purpose.

Signed-off-by: default avataryangdongdong <yangdongdong@xiaomi.com>
parent c23f127f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -897,7 +897,7 @@ static int print_wakeup_source_stats(struct seq_file *m,
		active_time = ktime_set(0, 0);
	}

	ret = seq_printf(m, "%-12s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t"
	ret = seq_printf(m, "%-32s\t%lu\t\t%lu\t\t%lu\t\t%lu\t\t"
			"%lld\t\t%lld\t\t%lld\t\t%lld\t\t%lld\n",
			ws->name, active_count, ws->event_count,
			ws->wakeup_count, ws->expire_count,
@@ -918,7 +918,7 @@ static int wakeup_sources_stats_show(struct seq_file *m, void *unused)
{
	struct wakeup_source *ws;

	seq_puts(m, "name\t\tactive_count\tevent_count\twakeup_count\t"
	seq_puts(m, "name\t\t\t\t\tactive_count\tevent_count\twakeup_count\t"
		"expire_count\tactive_since\ttotal_time\tmax_time\t"
		"last_change\tprevent_suspend_time\n");