diff options
| author | yangdongdong <yangdongdong@xiaomi.com> | 2015-08-08 11:59:59 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 11:00:05 +0200 |
| commit | 1240bc2234727c3221e4ab492906782947ecbeb8 (patch) | |
| tree | 92c4615a2deb6dde339340a3b0ae17c9530f1b19 | |
| parent | 4f73844f336f6897673af038402e51cdf548cdb4 (diff) | |
| download | android_kernel_m2note-1240bc2234727c3221e4ab492906782947ecbeb8.tar.gz | |
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: yangdongdong <yangdongdong@xiaomi.com>
| -rw-r--r-- | drivers/base/power/wakeup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c index 81b108898..9ae735df7 100644 --- a/drivers/base/power/wakeup.c +++ b/drivers/base/power/wakeup.c @@ -915,7 +915,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, @@ -940,7 +940,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"); |
