diff options
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r-- | kernel/trace/trace.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 525a97fbbc60..563e80f9006a 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c | |||
@@ -1567,9 +1567,9 @@ update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu, | |||
1567 | 1567 | ||
1568 | /** | 1568 | /** |
1569 | * update_max_tr_single - only copy one trace over, and reset the rest | 1569 | * update_max_tr_single - only copy one trace over, and reset the rest |
1570 | * @tr - tracer | 1570 | * @tr: tracer |
1571 | * @tsk - task with the latency | 1571 | * @tsk: task with the latency |
1572 | * @cpu - the cpu of the buffer to copy. | 1572 | * @cpu: the cpu of the buffer to copy. |
1573 | * | 1573 | * |
1574 | * Flip the trace of a single CPU buffer between the @tr and the max_tr. | 1574 | * Flip the trace of a single CPU buffer between the @tr and the max_tr. |
1575 | */ | 1575 | */ |
@@ -1767,7 +1767,7 @@ static void __init apply_trace_boot_options(void); | |||
1767 | 1767 | ||
1768 | /** | 1768 | /** |
1769 | * register_tracer - register a tracer with the ftrace system. | 1769 | * register_tracer - register a tracer with the ftrace system. |
1770 | * @type - the plugin for the tracer | 1770 | * @type: the plugin for the tracer |
1771 | * | 1771 | * |
1772 | * Register a new plugin tracer. | 1772 | * Register a new plugin tracer. |
1773 | */ | 1773 | */ |
@@ -2230,9 +2230,9 @@ static bool tracing_record_taskinfo_skip(int flags) | |||
2230 | /** | 2230 | /** |
2231 | * tracing_record_taskinfo - record the task info of a task | 2231 | * tracing_record_taskinfo - record the task info of a task |
2232 | * | 2232 | * |
2233 | * @task - task to record | 2233 | * @task: task to record |
2234 | * @flags - TRACE_RECORD_CMDLINE for recording comm | 2234 | * @flags: TRACE_RECORD_CMDLINE for recording comm |
2235 | * - TRACE_RECORD_TGID for recording tgid | 2235 | * TRACE_RECORD_TGID for recording tgid |
2236 | */ | 2236 | */ |
2237 | void tracing_record_taskinfo(struct task_struct *task, int flags) | 2237 | void tracing_record_taskinfo(struct task_struct *task, int flags) |
2238 | { | 2238 | { |
@@ -2258,10 +2258,10 @@ void tracing_record_taskinfo(struct task_struct *task, int flags) | |||
2258 | /** | 2258 | /** |
2259 | * tracing_record_taskinfo_sched_switch - record task info for sched_switch | 2259 | * tracing_record_taskinfo_sched_switch - record task info for sched_switch |
2260 | * | 2260 | * |
2261 | * @prev - previous task during sched_switch | 2261 | * @prev: previous task during sched_switch |
2262 | * @next - next task during sched_switch | 2262 | * @next: next task during sched_switch |
2263 | * @flags - TRACE_RECORD_CMDLINE for recording comm | 2263 | * @flags: TRACE_RECORD_CMDLINE for recording comm |
2264 | * TRACE_RECORD_TGID for recording tgid | 2264 | * TRACE_RECORD_TGID for recording tgid |
2265 | */ | 2265 | */ |
2266 | void tracing_record_taskinfo_sched_switch(struct task_struct *prev, | 2266 | void tracing_record_taskinfo_sched_switch(struct task_struct *prev, |
2267 | struct task_struct *next, int flags) | 2267 | struct task_struct *next, int flags) |
@@ -3072,7 +3072,9 @@ static void trace_printk_start_stop_comm(int enabled) | |||
3072 | 3072 | ||
3073 | /** | 3073 | /** |
3074 | * trace_vbprintk - write binary msg to tracing buffer | 3074 | * trace_vbprintk - write binary msg to tracing buffer |
3075 | * | 3075 | * @ip: The address of the caller |
3076 | * @fmt: The string format to write to the buffer | ||
3077 | * @args: Arguments for @fmt | ||
3076 | */ | 3078 | */ |
3077 | int trace_vbprintk(unsigned long ip, const char *fmt, va_list args) | 3079 | int trace_vbprintk(unsigned long ip, const char *fmt, va_list args) |
3078 | { | 3080 | { |