hprof converter skeleton
This is just skeleton code:
- New trace converter call
- Utility functions for writing big-endian outputs
- Utility functions for writing hprof records and avoid manual size
calculations
Bug: 162833724
Change-Id: If76e3d968439a21f3d746689f51c804115790375
diff --git a/Android.bp b/Android.bp
index 0f0cc57..41a6e47 100644
--- a/Android.bp
+++ b/Android.bp
@@ -7847,6 +7847,7 @@
"tools/trace_to_text/deobfuscate_profile.cc",
"tools/trace_to_text/main.cc",
"tools/trace_to_text/symbolize_profile.cc",
+ "tools/trace_to_text/trace_to_hprof.cc",
"tools/trace_to_text/trace_to_json.cc",
"tools/trace_to_text/trace_to_profile.cc",
"tools/trace_to_text/trace_to_systrace.cc",