summaryrefslogtreecommitdiff
path: root/perf_tools/report.proto
diff options
context:
space:
mode:
authorXiaoqin Ma <xiaoqinma@google.com>2022-12-13 21:01:03 +0000
committerXiaoqin Ma <xiaoqinma@google.com>2023-01-17 19:50:18 +0000
commit063198dcb9b4d7e6bc251691c87d513253dc5a22 (patch)
tree7383c3b06f68502d0bb9481c313cf7f0c390b7ce /perf_tools/report.proto
parent2ef7fa4469a73a2e5983139c25c09dae86c89e4d (diff)
downloadextras-063198dcb9b4d7e6bc251691c87d513253dc5a22.tar.gz
Write the log analysis report in a proto file.
Read the keywords from a yaml config file. Write the output as a proto file. Bug: 262259622 Test: Manually. Change-Id: Ice59125e6e89e87c91597f2a34d3a0204b964c63
Diffstat (limited to 'perf_tools/report.proto')
-rw-r--r--perf_tools/report.proto21
1 files changed, 21 insertions, 0 deletions
diff --git a/perf_tools/report.proto b/perf_tools/report.proto
new file mode 100644
index 00000000..fb9e839b
--- /dev/null
+++ b/perf_tools/report.proto
@@ -0,0 +1,21 @@
+syntax = "proto2";
+
+package report;
+
+message Keyword {
+ required string value = 1;
+}
+
+message Keywords {
+ repeated Keyword keyword = 1;
+}
+
+message Record {
+ required string timestamp = 1;
+ required string event = 2;
+ required int64 timing = 3;
+}
+
+message Report {
+ repeated Record record = 1;
+}