2007-08-10 14:38:03

by Maxim Uvarov

[permalink] [raw]
Subject: [PATCH] Missed "," character in printf in print_delayacct().


Sorry I've removed "," character from Documentation/accounting/getdelays.c
with taskstats-add-context-switch-counters.patch.

It is needed to turn it back.


Signed-off-by: Maxim Uvarov <[email protected]>

---

Documentation/accounting/getdelays.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
index 24c5aad..cbee3a2 100644
--- a/Documentation/accounting/getdelays.c
+++ b/Documentation/accounting/getdelays.c
@@ -196,7 +196,7 @@ void print_delayacct(struct taskstats *t)
"IO %15s%15s\n"
" %15llu%15llu\n"
"MEM %15s%15s\n"
- " %15llu%15llu\n"
+ " %15llu%15llu\n",
"count", "real total", "virtual total", "delay total",
t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
t->cpu_delay_total,


2007-08-14 06:06:37

by Balbir Singh

[permalink] [raw]
Subject: Re: [PATCH] Missed "," character in printf in print_delayacct().

Maxim Uvarov wrote:
> Sorry I've removed "," character from Documentation/accounting/getdelays.c
> with taskstats-add-context-switch-counters.patch.
>
> It is needed to turn it back.
>
>
> Signed-off-by: Maxim Uvarov <[email protected]>
>
> ---
>
> Documentation/accounting/getdelays.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/accounting/getdelays.c b/Documentation/accounting/getdelays.c
> index 24c5aad..cbee3a2 100644
> --- a/Documentation/accounting/getdelays.c
> +++ b/Documentation/accounting/getdelays.c
> @@ -196,7 +196,7 @@ void print_delayacct(struct taskstats *t)
> "IO %15s%15s\n"
> " %15llu%15llu\n"
> "MEM %15s%15s\n"
> - " %15llu%15llu\n"
> + " %15llu%15llu\n",
> "count", "real total", "virtual total", "delay total",
> t->cpu_count, t->cpu_run_real_total, t->cpu_run_virtual_total,
> t->cpu_delay_total,
>

Michael Neuling, sent this fix along with his fix for fixing the -l option.


--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL