diff options
Diffstat (limited to 'trace-output.c')
-rw-r--r-- | trace-output.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/trace-output.c b/trace-output.c index e2aa1bb..2755113 100644 --- a/trace-output.c +++ b/trace-output.c | |||
@@ -991,8 +991,8 @@ int tracecmd_append_cpu_data(struct tracecmd_output *handle, | |||
991 | } | 991 | } |
992 | 992 | ||
993 | for (i = 0; i < cpus; i++) { | 993 | for (i = 0; i < cpus; i++) { |
994 | fprintf(stderr, "offset=%llx\n", | 994 | fprintf(stderr, "CPU%d data recorded at offset=0x%llx\n", |
995 | (unsigned long long) offsets[i]); | 995 | i, (unsigned long long) offsets[i]); |
996 | offset = lseek64(handle->fd, offsets[i], SEEK_SET); | 996 | offset = lseek64(handle->fd, offsets[i], SEEK_SET); |
997 | if (offset == (off64_t)-1) { | 997 | if (offset == (off64_t)-1) { |
998 | warning("could not seek to %lld\n", offsets[i]); | 998 | warning("could not seek to %lld\n", offsets[i]); |
@@ -1005,6 +1005,7 @@ int tracecmd_append_cpu_data(struct tracecmd_output *handle, | |||
1005 | check_size, sizes[i]); | 1005 | check_size, sizes[i]); |
1006 | goto out_free; | 1006 | goto out_free; |
1007 | } | 1007 | } |
1008 | fprintf(stderr, " %ld bytes in size\n", check_size); | ||
1008 | } | 1009 | } |
1009 | 1010 | ||
1010 | free(offsets); | 1011 | free(offsets); |