summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorYi Jin <jinyithu@google.com>2017-12-22 17:36:47 -0800
committerYi Jin <jinyithu@google.com>2018-01-06 20:33:14 -0800
commit3c034c987e1eeb49660fb62d3426c292a01412c9 (patch)
tree168d3f0040e3e74ac1b2741f91d2dbfcee166535 /libs
parenta598c05d632d303a49ba06fe306136e0039c785d (diff)
Implement a new type of section which reads from logd and dumps proto.
And implement a file section which reads from event-log-tags for decoding binary logs. Bug: 70936599 Test: atest incidentd_test && atest incident_helper_test and flush on device and test log sections and event_log_tag_map Change-Id: Ib3d35e317f355de69f01ded012482486e9a43da6
Diffstat (limited to 'libs')
-rw-r--r--libs/incident/proto/android/section.proto3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/incident/proto/android/section.proto b/libs/incident/proto/android/section.proto
index d268cf4fc09a..49bfe1e8a598 100644
--- a/libs/incident/proto/android/section.proto
+++ b/libs/incident/proto/android/section.proto
@@ -37,6 +37,9 @@ enum SectionType {
// incidentd calls dumpsys for annotated field
SECTION_DUMPSYS = 3;
+
+ // incidentd calls logs for annotated field
+ SECTION_LOG = 4;
}
message SectionFlags {