aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-split.c b/trace-split.c
index c569524..9e74554 100644
--- a/trace-split.c
+++ b/trace-split.c
@@ -228,7 +228,7 @@ static int parse_cpu(struct tracecmd_input *handle,
228 while (record && (!end || record->ts <= end)) { 228 while (record && (!end || record->ts <= end)) {
229 if (cpu_data[cpu].index + record->record_size > page_size) { 229 if (cpu_data[cpu].index + record->record_size > page_size) {
230 230
231 if (type == SPLIT_PAGES && pages++ > count_limit) 231 if (type == SPLIT_PAGES && ++pages > count_limit)
232 break; 232 break;
233 233
234 if (cpu_data[cpu].page) 234 if (cpu_data[cpu].page)