diff options
author | Kweku Adams <kwekua@google.com> | 2018-02-05 16:45:13 -0800 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2018-03-07 21:50:12 +0000 |
commit | eadd123d68850cb27aa6d030ade6190e30991b19 (patch) | |
tree | 28ee59bef758929559dde7b34a9dbe962f1196c9 /tools/incident_section_gen/main.cpp | |
parent | 0efaf2088d8e3ba8ec560aa5eb597ef456b5213e (diff) |
Dumping stack traces to proto.
Bug: 72177715
Test: flash device and check incident.proto output
Change-Id: Id2a15e0fc62b66efe875949af97f0eb651c7e322
(cherry picked from commit 5c804e2b9893c7892900148229cf19fa6268e7dc)
Diffstat (limited to 'tools/incident_section_gen/main.cpp')
-rw-r--r-- | tools/incident_section_gen/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/incident_section_gen/main.cpp b/tools/incident_section_gen/main.cpp index e396a638927e..8219150d3029 100644 --- a/tools/incident_section_gen/main.cpp +++ b/tools/incident_section_gen/main.cpp @@ -427,6 +427,8 @@ static bool generateSectionListCpp(Descriptor const* descriptor) { printf(" new GZipSection(%d,", field->number()); splitAndPrint(s.args()); printf(" NULL),\n"); + case SECTION_TOMBSTONE: + printf(" new TombstoneSection(%d, \"%s\"),\n", field->number(), s.args().c_str()); break; } } |