diff options
author | Mike Ma <yanmin@google.com> | 2020-01-09 11:25:47 -0800 |
---|---|---|
committer | Mike Ma <yanmin@google.com> | 2020-01-16 10:34:33 -0800 |
commit | 22ff08b94c78b907a35cefd1298a2abad14740ae (patch) | |
tree | 5a1c4cd1ba932be67d1bdc3892f4d0c758296513 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | a4d4f94e21757148153711a2defe21bd45dc3337 (diff) |
Persisted log parser for incident reporting
Add persisted log section (section 1116) in incident report. Since
persisted logs are only stored in /data/misc/logd in plain text
format with interleaving log buffers, incidentd must use a dedicated
parser to parse them into protobuf, and it is more efficient to store
all buffers in a single section.
Implementation details: incidentd invokes incident-helper-cmd, who
reads all persisted log files in /data/misc/logd dir matching
logcat.* pattern, parses them line by line into TextLogEntry, and
passes the data back to incidentd through stdout in protobuf wire
format.
Command to invoke persisted log directly:
$ incident-helper-cmd run persisted_logs
Bug: 146086597
Test: adb shell incident -p EXPLICIT 1116 | \
.out/soong/host/linux-x86/bin/aprotoc --decode_raw
Change-Id: I163cc47f1b34a58b404d7b7485ff47d8893e3bdd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions