diff options
-rw-r--r-- | init/Kconfig | 1 | ||||
-rw-r--r-- | kernel/trace/trace.c | 3 | ||||
-rw-r--r-- | kernel/trace/trace.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig index 6de46ef12e3f..2a388e569a28 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -927,7 +927,6 @@ config UIDGID_CONVERTED | |||
927 | # Features | 927 | # Features |
928 | depends on IMA = n | 928 | depends on IMA = n |
929 | depends on EVM = n | 929 | depends on EVM = n |
930 | depends on TRACING = n | ||
931 | depends on FS_POSIX_ACL = n | 930 | depends on FS_POSIX_ACL = n |
932 | depends on QUOTA = n | 931 | depends on QUOTA = n |
933 | depends on QUOTACTL = n | 932 | depends on QUOTACTL = n |
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 5c38c81496ce..c9ace838d509 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -2060,7 +2060,8 @@ print_trace_header(struct seq_file *m, struct trace_iterator *iter) | |||
2060 | seq_puts(m, "# -----------------\n"); | 2060 | seq_puts(m, "# -----------------\n"); |
2061 | seq_printf(m, "# | task: %.16s-%d " | 2061 | seq_printf(m, "# | task: %.16s-%d " |
2062 | "(uid:%d nice:%ld policy:%ld rt_prio:%ld)\n", | 2062 | "(uid:%d nice:%ld policy:%ld rt_prio:%ld)\n", |
2063 | data->comm, data->pid, data->uid, data->nice, | 2063 | data->comm, data->pid, |
2064 | from_kuid_munged(seq_user_ns(m), data->uid), data->nice, | ||
2064 | data->policy, data->rt_priority); | 2065 | data->policy, data->rt_priority); |
2065 | seq_puts(m, "# -----------------\n"); | 2066 | seq_puts(m, "# -----------------\n"); |
2066 | 2067 | ||
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 55e1f7f0db12..40a6f30c985f 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -147,7 +147,7 @@ struct trace_array_cpu { | |||
147 | unsigned long skipped_entries; | 147 | unsigned long skipped_entries; |
148 | cycle_t preempt_timestamp; | 148 | cycle_t preempt_timestamp; |
149 | pid_t pid; | 149 | pid_t pid; |
150 | uid_t uid; | 150 | kuid_t uid; |
151 | char comm[TASK_COMM_LEN]; | 151 | char comm[TASK_COMM_LEN]; |
152 | }; | 152 | }; |
153 | 153 | ||