summaryrefslogtreecommitdiff
path: root/kernel/cgroup/stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/cgroup/stat.c')
-rw-r--r--kernel/cgroup/stat.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/kernel/cgroup/stat.c b/kernel/cgroup/stat.c
index 9cce79e89320..133b465691d6 100644
--- a/kernel/cgroup/stat.c
+++ b/kernel/cgroup/stat.c
@@ -256,7 +256,7 @@ void __cgroup_account_cputime_field(struct cgroup *cgrp,
cgroup_cpu_stat_account_end(cgrp, cstat);
}
-void cgroup_stat_show_cputime(struct seq_file *seq, const char *prefix)
+void cgroup_stat_show_cputime(struct seq_file *seq)
{
struct cgroup *cgrp = seq_css(seq)->cgroup;
u64 usage, utime, stime;
@@ -278,10 +278,10 @@ void cgroup_stat_show_cputime(struct seq_file *seq, const char *prefix)
do_div(utime, NSEC_PER_USEC);
do_div(stime, NSEC_PER_USEC);
- seq_printf(seq, "%susage_usec %llu\n"
- "%suser_usec %llu\n"
- "%ssystem_usec %llu\n",
- prefix, usage, prefix, utime, prefix, stime);
+ seq_printf(seq, "usage_usec %llu\n"
+ "user_usec %llu\n"
+ "system_usec %llu\n",
+ usage, utime, stime);
}
int cgroup_stat_init(struct cgroup *cgrp)