aboutsummaryrefslogtreecommitdiff
path: root/tools/trace_to_text/trace_to_systrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/trace_to_text/trace_to_systrace.h')
-rw-r--r--tools/trace_to_text/trace_to_systrace.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/tools/trace_to_text/trace_to_systrace.h b/tools/trace_to_text/trace_to_systrace.h
index 4e540f6d7..fbb6b38f8 100644
--- a/tools/trace_to_text/trace_to_systrace.h
+++ b/tools/trace_to_text/trace_to_systrace.h
@@ -20,27 +20,15 @@
#include <iostream>
namespace perfetto {
-
-namespace trace_processor {
-class TraceProcessor;
-} // namespace trace_processor
-
namespace trace_to_text {
-class TraceWriter;
-
-enum class Keep { kStart = 0, kEnd, kAll };
-
int TraceToSystrace(std::istream* input,
std::ostream* output,
- bool compress,
- Keep truncate_keep,
- bool full_sort);
+ bool wrap_in_json);
-int ExtractSystrace(trace_processor::TraceProcessor*,
- TraceWriter*,
- bool wrapped_in_json,
- Keep truncate_keep);
+int TraceToSystraceLegacy(std::istream* input,
+ std::ostream* output,
+ bool wrap_in_json);
} // namespace trace_to_text
} // namespace perfetto