summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2015-08-06 12:28:45 +0100
committerJose Fonseca <jfonseca@vmware.com>2015-08-06 12:28:45 +0100
commit542edff31077b3f3c24f511b12f7f3832f7768c9 (patch)
tree741a2f887567f4bd38d0e24d15ab5d1fa895edb8 /cli
parentd9809aa93ce4bdeb57f1ab81decea4b54cf20026 (diff)
cli: Rename trace_analyzer module.
To line up with the rest of trim-auto source code.
Diffstat (limited to 'cli')
-rw-r--r--cli/CMakeLists.txt2
-rw-r--r--cli/cli_trim_auto.cpp3
-rw-r--r--cli/cli_trim_auto_analyzer.cpp (renamed from cli/trace_analyzer.cpp)2
-rw-r--r--cli/cli_trim_auto_analyzer.hpp (renamed from cli/trace_analyzer.hpp)0
4 files changed, 4 insertions, 3 deletions
diff --git a/cli/CMakeLists.txt b/cli/CMakeLists.txt
index 6e8703cc..4c13c213 100644
--- a/cli/CMakeLists.txt
+++ b/cli/CMakeLists.txt
@@ -29,8 +29,8 @@ add_executable (apitrace
cli_trace.cpp
cli_trim.cpp
cli_trim_auto.cpp
+ cli_trim_auto_analyzer.cpp
cli_resources.cpp
- trace_analyzer.cpp
)
target_link_libraries (apitrace
diff --git a/cli/cli_trim_auto.cpp b/cli/cli_trim_auto.cpp
index 5dc62515..685de21d 100644
--- a/cli/cli_trim_auto.cpp
+++ b/cli/cli_trim_auto.cpp
@@ -35,11 +35,12 @@
#include "os_string.hpp"
-#include "trace_analyzer.hpp"
#include "trace_callset.hpp"
#include "trace_parser.hpp"
#include "trace_writer.hpp"
+#include "cli_trim_auto_analyzer.hpp"
+
static const char *synopsis = "Create a new trace by automatically trimming unecessary calls from an existing trace.";
static void
diff --git a/cli/trace_analyzer.cpp b/cli/cli_trim_auto_analyzer.cpp
index 79f95579..41d90180 100644
--- a/cli/trace_analyzer.cpp
+++ b/cli/cli_trim_auto_analyzer.cpp
@@ -25,7 +25,7 @@
#include <sstream>
-#include "trace_analyzer.hpp"
+#include "cli_trim_auto_analyzer.hpp"
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define STRNCMP_LITERAL(var, literal) strncmp((var), (literal), sizeof (literal) -1)
diff --git a/cli/trace_analyzer.hpp b/cli/cli_trim_auto_analyzer.hpp
index c344fb6a..c344fb6a 100644
--- a/cli/trace_analyzer.hpp
+++ b/cli/cli_trim_auto_analyzer.hpp