From 063198dcb9b4d7e6bc251691c87d513253dc5a22 Mon Sep 17 00:00:00 2001 From: Xiaoqin Ma Date: Tue, 13 Dec 2022 21:01:03 +0000 Subject: 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 --- perf_tools/report.proto | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 perf_tools/report.proto (limited to 'perf_tools/report.proto') 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; +} -- cgit v1.2.3