diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/perf_counter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 3f841beefc7b..534e20d14d63 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -3028,10 +3028,10 @@ static void perf_counter_task_output(struct perf_counter *counter, | |||
3028 | return; | 3028 | return; |
3029 | 3029 | ||
3030 | task_event->event.pid = perf_counter_pid(counter, task); | 3030 | task_event->event.pid = perf_counter_pid(counter, task); |
3031 | task_event->event.ppid = perf_counter_pid(counter, task->real_parent); | 3031 | task_event->event.ppid = perf_counter_pid(counter, current); |
3032 | 3032 | ||
3033 | task_event->event.tid = perf_counter_tid(counter, task); | 3033 | task_event->event.tid = perf_counter_tid(counter, task); |
3034 | task_event->event.ptid = perf_counter_tid(counter, task->real_parent); | 3034 | task_event->event.ptid = perf_counter_tid(counter, current); |
3035 | 3035 | ||
3036 | perf_output_put(&handle, task_event->event); | 3036 | perf_output_put(&handle, task_event->event); |
3037 | perf_output_end(&handle); | 3037 | perf_output_end(&handle); |