Loading fs/proc/cpu_time_stat.c +20 −20 Original line number Diff line number Diff line Loading @@ -118,16 +118,16 @@ static int show_cpu_time_stat(struct seq_file *p, void *v) sum += arch_irq_stat(); seq_puts(p, "cpu "); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(system)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest_nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(user)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(system)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest_nice)); seq_putc(p, '\n'); for_each_possible_cpu(i) { Loading @@ -143,16 +143,16 @@ static int show_cpu_time_stat(struct seq_file *p, void *v) guest = kcpustat_cpu(i).cpustat[CPUTIME_GUEST]; guest_nice = kcpustat_cpu(i).cpustat[CPUTIME_GUEST_NICE]; seq_printf(p, "cpu%d", i); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(system)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest_nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(user)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(system)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest_nice)); seq_putc(p, '\n'); } return 0; Loading Loading
fs/proc/cpu_time_stat.c +20 −20 Original line number Diff line number Diff line Loading @@ -118,16 +118,16 @@ static int show_cpu_time_stat(struct seq_file *p, void *v) sum += arch_irq_stat(); seq_puts(p, "cpu "); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(system)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest_nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(user)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(system)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest_nice)); seq_putc(p, '\n'); for_each_possible_cpu(i) { Loading @@ -143,16 +143,16 @@ static int show_cpu_time_stat(struct seq_file *p, void *v) guest = kcpustat_cpu(i).cpustat[CPUTIME_GUEST]; guest_nice = kcpustat_cpu(i).cpustat[CPUTIME_GUEST_NICE]; seq_printf(p, "cpu%d", i); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(user)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(system)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, ' ', cputime64_to_clock_t(guest_nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(user)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(nice)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(system)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(idle)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(iowait)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(irq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(softirq)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(steal)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest)); seq_put_decimal_ull(p, " ", cputime64_to_clock_t(guest_nice)); seq_putc(p, '\n'); } return 0; Loading