diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2009-07-03 09:29:57 -0400 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2009-07-29 17:30:36 -0400 |
| commit | 3f79d2989e6f1fb3c67546bdecb4dca6a414b39e (patch) | |
| tree | a9ee77731a50b773de821d7c1bd8b0aea50800da /include/linux | |
| parent | 0e6e7446187add6cbd03c8ff7b12226bffb761c5 (diff) | |
rt: add rt stats to /proc/stat
add RT stats to /proc/stat
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
fs/proc/stat.c | 23 +++++++++++++++++------
include/linux/kernel_stat.h | 2 ++
kernel/sched.c | 6 +++++-
3 files changed, 24 insertions(+), 7 deletions(-)
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kernel_stat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kernel_stat.h b/include/linux/kernel_stat.h index 348fa8874b52..91958d33eb90 100644 --- a/include/linux/kernel_stat.h +++ b/include/linux/kernel_stat.h | |||
| @@ -24,6 +24,8 @@ struct cpu_usage_stat { | |||
| 24 | cputime64_t idle; | 24 | cputime64_t idle; |
| 25 | cputime64_t iowait; | 25 | cputime64_t iowait; |
| 26 | cputime64_t steal; | 26 | cputime64_t steal; |
| 27 | cputime64_t user_rt; | ||
| 28 | cputime64_t system_rt; | ||
| 27 | cputime64_t guest; | 29 | cputime64_t guest; |
| 28 | }; | 30 | }; |
| 29 | 31 | ||
