aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_counter.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r--kernel/perf_counter.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c
index a641eb753b8c..7bc888dfd06a 100644
--- a/kernel/perf_counter.c
+++ b/kernel/perf_counter.c
@@ -2665,6 +2665,7 @@ static void perf_counter_output(struct perf_counter *counter, int nmi,
2665 header.size += sizeof(cpu_entry); 2665 header.size += sizeof(cpu_entry);
2666 2666
2667 cpu_entry.cpu = raw_smp_processor_id(); 2667 cpu_entry.cpu = raw_smp_processor_id();
2668 cpu_entry.reserved = 0;
2668 } 2669 }
2669 2670
2670 if (sample_type & PERF_SAMPLE_PERIOD) 2671 if (sample_type & PERF_SAMPLE_PERIOD)