Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1688032 > unrolled thread
| Started by | Dennis Zhou <dennisz@fb.com> |
|---|---|
| First post | 2017-07-16 04:30 +0200 |
| Last post | 2017-07-17 16:50 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 02/10] percpu: change the format for percpu_stats output Dennis Zhou <dennisz@fb.com> - 2017-07-16 04:30 +0200
Re: [PATCH 02/10] percpu: change the format for percpu_stats output Tejun Heo <tj@kernel.org> - 2017-07-17 16:50 +0200
| From | Dennis Zhou <dennisz@fb.com> |
|---|---|
| Date | 2017-07-16 04:30 +0200 |
| Subject | [PATCH 02/10] percpu: change the format for percpu_stats output |
| Message-ID | <u3HtM-19b-5@gated-at.bofh.it> |
From: "Dennis Zhou (Facebook)" <dennisszhou@gmail.com> This makes the debugfs output for percpu_stats a little easier to read by changing the spacing of the output to be consistent. Signed-off-by: Dennis Zhou <dennisszhou@gmail.com> --- mm/percpu-stats.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mm/percpu-stats.c b/mm/percpu-stats.c index 0d81044..fa0f5de 100644 --- a/mm/percpu-stats.c +++ b/mm/percpu-stats.c @@ -18,7 +18,7 @@ #include "percpu-internal.h" #define P(X, Y) \ - seq_printf(m, " %-24s: %8lld\n", X, (long long int)Y) + seq_printf(m, " %-20s: %12lld\n", X, (long long int)Y) struct percpu_stats pcpu_stats; struct pcpu_alloc_info pcpu_stats_ai; @@ -134,7 +134,7 @@ static int percpu_stats_show(struct seq_file *m, void *v) } #define PL(X) \ - seq_printf(m, " %-24s: %8lld\n", #X, (long long int)pcpu_stats_ai.X) + seq_printf(m, " %-20s: %12lld\n", #X, (long long int)pcpu_stats_ai.X) seq_printf(m, "Percpu Memory Statistics\n" @@ -151,7 +151,7 @@ static int percpu_stats_show(struct seq_file *m, void *v) #undef PL #define PU(X) \ - seq_printf(m, " %-18s: %14llu\n", #X, (unsigned long long)pcpu_stats.X) + seq_printf(m, " %-20s: %12llu\n", #X, (unsigned long long)pcpu_stats.X) seq_printf(m, "Global Stats:\n" -- 2.9.3
[toc] | [next] | [standalone]
| From | Tejun Heo <tj@kernel.org> |
|---|---|
| Date | 2017-07-17 16:50 +0200 |
| Message-ID | <u4fvr-6kS-5@gated-at.bofh.it> |
| In reply to | #1688032 |
On Sat, Jul 15, 2017 at 10:23:07PM -0400, Dennis Zhou wrote: > From: "Dennis Zhou (Facebook)" <dennisszhou@gmail.com> > > This makes the debugfs output for percpu_stats a little easier > to read by changing the spacing of the output to be consistent. > > Signed-off-by: Dennis Zhou <dennisszhou@gmail.com> Applied to percpu/for-4.14. Thanks. -- tejun
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web