It will override the entries already sorted from the previous CPUs.
- blktrace: Don't touch the stored trace, leave magic and version
for blkparse to see as well.
- Always store trace data in big endian format
+ - Oops, don't clear rb_root in sort_entries()
20050827:
- Various cleanups and killing unused variables
20050826:
void *start = traces;
int nelems = 0;
- memset(&rb_root, 0, sizeof(rb_root));
-
while (traces - start <= offset - sizeof(*bit)) {
bit = traces;
dev = argv[1];
+ memset(&rb_root, 0, sizeof(rb_root));
+
for (max_cpus = 0, i = 0, nfiles = 0; i < MAX_CPUS; i++) {
struct per_file_info *pfi = &per_file_info[i];
struct stat st;