mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 05:41:06 +00:00
9d66337f90
Add a basic RPC service to trace which currently provides 3 RPCs: - Enable(bool), Turns tracing on or off - IsEnabled, Returns if tracing is currently on or off - GetTraceData, Streams the encoded trace data. This CL also adds a python script which uses these RPCs to retrieve and decode trace data from a connected device. Change-Id: Iaceb3fa87017939a17512738101af70bf335504a Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/31880 Reviewed-by: Paul Mathieu <paulmathieu@google.com> Commit-Queue: Rob Oliver <rgoliver@google.com>
16 lines
641 B
Plaintext
16 lines
641 B
Plaintext
// Copyright 2020 The Pigweed Authors
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
// use this file except in compliance with the License. You may obtain a copy of
|
|
// the License at
|
|
//
|
|
// https://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
// License for the specific language governing permissions and limitations under
|
|
// the License.
|
|
|
|
pw.trace.TraceDataMessage.data max_size:64
|