+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
int ltt_major_version=0;
int ltt_minor_version=0;
int ltt_log_cpu;
- guint ltt_trace_start_size;
+ guint ltt_trace_start_size = 0;
char buf[BUFFER_SIZE];
int i, k;
ltt_trace_start_size = sizeof(trace_start_2_3);
/* We do not use the flight recorder information for now, because we
* never use the .proc file anyway */
- } else {
- ltt_trace_start_size = 0;
+ }
+
+ if(ltt_trace_start_size == 0)
g_error("Minor version unknown : %hu. Supported minors : 2, 3",
tStart->MinorVersion);
- }
block_size = ltt_block_size;//FIXME
block_number = file_size/ltt_block_size;
close(fdProc);
fclose(fp);
+ g_printf("Conversion completed. Don't forget to copy core.xml to eventdefs directory\n");
+
return 0;
}