aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/perf_event.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r--kernel/perf_event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c
index 42a0e9191af5..858f56fa2432 100644
--- a/kernel/perf_event.c
+++ b/kernel/perf_event.c
@@ -3064,6 +3064,7 @@ __always_inline void perf_output_copy(struct perf_output_handle *handle,
3064 3064
3065 len -= size; 3065 len -= size;
3066 handle->addr += size; 3066 handle->addr += size;
3067 buf += size;
3067 handle->size -= size; 3068 handle->size -= size;
3068 if (!handle->size) { 3069 if (!handle->size) {
3069 struct perf_mmap_data *data = handle->data; 3070 struct perf_mmap_data *data = handle->data;