aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trace-read.c b/trace-read.c
index 5befaba..f7b9e17 100644
--- a/trace-read.c
+++ b/trace-read.c
@@ -248,7 +248,7 @@ static void read_data_info(struct tracecmd_input *handle)
248 ts = 0; 248 ts = 0;
249 if (filter_cpu >= 0) { 249 if (filter_cpu >= 0) {
250 cpu = filter_cpu; 250 cpu = filter_cpu;
251 record = tracecmd_peek_data(handle, cpu); 251 record = tracecmd_read_data(handle, cpu);
252 } else 252 } else
253 record = tracecmd_read_next_data(handle, &cpu); 253 record = tracecmd_read_next_data(handle, &cpu);
254 254