diff options
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 17ac47f4bce6..8d61d292f719 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -3036,7 +3036,7 @@ int perf_output_begin(struct perf_output_handle *handle, | |||
3036 | handle->sample = sample; | 3036 | handle->sample = sample; |
3037 | 3037 | ||
3038 | if (!data->nr_pages) | 3038 | if (!data->nr_pages) |
3039 | goto fail; | 3039 | goto out; |
3040 | 3040 | ||
3041 | have_lost = atomic_read(&data->lost); | 3041 | have_lost = atomic_read(&data->lost); |
3042 | if (have_lost) | 3042 | if (have_lost) |