@@ -14,7 +14,7 @@
#define TRACE_AGENT_DEFAULT_PORT 823
-#define DEFAUT_INPUT_FILE "trace.dat"
+#define DEFAULT_INPUT_FILE "trace.dat"
#define GUEST_PIPE_NAME "trace-pipe-cpu"
#define GUEST_DIR_FMT "/var/lib/trace-cmd/virt/%s"
#define GUEST_FIFO_FMT GUEST_DIR_FMT "/" GUEST_PIPE_NAME "%d"
@@ -723,7 +723,7 @@ void trace_dump(int argc, char **argv)
}
if (!input_file)
- input_file = DEFAUT_INPUT_FILE;
+ input_file = DEFAULT_INPUT_FILE;
if (!verbosity && !validate)
verbosity = SUMMARY;
@@ -1037,7 +1037,7 @@ void trace_hist(int argc, char **argv)
}
if (!input_file)
- input_file = DEFAUT_INPUT_FILE;
+ input_file = DEFAULT_INPUT_FILE;
handle = tracecmd_alloc(input_file);
if (!handle)
@@ -548,7 +548,7 @@ void trace_mem(int argc, char **argv)
}
if (!input_file)
- input_file = DEFAUT_INPUT_FILE;
+ input_file = DEFAULT_INPUT_FILE;
handle = tracecmd_alloc(input_file);
if (!handle)
@@ -74,7 +74,7 @@ struct pid_list *comm_list;
static unsigned int page_size;
static int input_fd;
-static const char *default_input_file = DEFAUT_INPUT_FILE;
+static const char *default_input_file = DEFAULT_INPUT_FILE;
static const char *input_file;
static int multi_inputs;
static int max_file_size;
@@ -69,7 +69,7 @@ static int rt_prio;
static int keep;
-static const char *output_file = DEFAUT_INPUT_FILE;
+static const char *output_file = DEFAULT_INPUT_FILE;
static int latency;
static int sleep_time = 1000;
@@ -25,7 +25,7 @@
void trace_restore (int argc, char **argv)
{
struct tracecmd_output *handle;
- const char *output_file = DEFAUT_INPUT_FILE;
+ const char *output_file = DEFAULT_INPUT_FILE;
const char *output = NULL;
const char *input = NULL;
const char *tracing_dir = NULL;
@@ -23,7 +23,7 @@
#include "trace-local.h"
static unsigned int page_size;
-static const char *default_input_file = DEFAUT_INPUT_FILE;
+static const char *default_input_file = DEFAULT_INPUT_FILE;
static const char *input_file;
enum split_types {
@@ -139,7 +139,7 @@ static void write_guest_time_shift(struct buffer_instance *instance)
if (ret < 0 || !count || !ts || !offsets)
return;
- file = trace_get_guest_file(DEFAUT_INPUT_FILE,
+ file = trace_get_guest_file(DEFAULT_INPUT_FILE,
tracefs_instance_get_name(instance->tracefs));
fd = open(file, O_RDWR);
if (fd < 0)