Commit Graph

5 Commits

Author SHA1 Message Date
Prashanth Swaminathan
652977da99 pw_log_rpc: Add RPC command for logs
Adds Logs.Get RPC to acquire the logs from log queue.

Change-Id: I5a3d93604906f4dd0471e50964fe36a61c66797c
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/21960
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Prashanth Swaminathan <prashanthsw@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-11-06 23:28:38 +00:00
Alexei Frolov
8e30d46622 pw_protobuf_compiler: Rename generated GN targets
This updates generated protobuf targets to use the format
<target>.<generator> instead of <target>_<generator> to improve
readability.

Change-Id: I52d1e398d5bbece7f79ae87e9a1df7fdce880a6b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/22222
Reviewed-by: Wyatt Hepler <hepler@google.com>
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Alexei Frolov <frolv@google.com>
2020-10-23 19:30:06 +00:00
Wyatt Hepler
d49f8fe3f3 BUILD.gn files: Improve import formatting
The "# gn-format disable" comments are no longer necessary. Delete these
comments and reformat with a Vim macro and gn format.

Change-Id: Ia62c40ad73eef91187d0d443d6e3b0fa723e5aa9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/21380
Reviewed-by: Armando Montanez <amontanez@google.com>
Commit-Queue: Wyatt Hepler <hepler@google.com>
2020-10-15 18:12:55 +00:00
Prashanth Swaminathan
fce26ba0e5 pw_log_rpc: Add log queue implementation
The log protobuf format has been modified to accept signed integers for
the elapsed time, to account for negative deltas.

Change-Id: I3fbc4a1b1dd9cdd5402cd621d6dcf5ae3ec6ecc5
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/19040
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Prashanth Swaminathan <prashanthsw@google.com>
2020-10-07 15:49:21 +00:00
Prashanth Swaminathan
e9cf376ae5 pw_log_rpc: Add logging module protos
Adds just the proto files from the in-progress logging module.

Change-Id: Ibe8ca60aaaf053cdfb184ec8dd413da49fc3b288
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/18780
Commit-Queue: Prashanth Swaminathan <prashanthsw@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2020-09-24 18:05:01 +00:00