commit | 84751022a2a211aa4875ace5dbe79d5f366fb4f9 | [log] [tgz] |
---|---|---|
author | Steven Grady <slgrady@google.com> | Tue Feb 07 01:51:29 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Feb 07 01:51:29 2023 +0000 |
tree | 0e248906e4b173ba3072f6e3024a965f74bca66a | |
parent | ef81d64b4279e55a06565c7f49e9b36da1cdd320 [diff] |
[ffx] Add tracing::instrument attributes Adds spans to functions that use tracing. The primary advantage is that log message will provide the name of the function. A secondary advantage is that, when we switch to a more sophisticated log-viewer such as Jaeger,we will automatically benefit from the span structure (Also removes "level = info" where it was specified, since that is the default.) Fixed: 119970 Change-Id: I0c66cf4879c475ba846c52aa86c6d45bef48f26c Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/797943 Reviewed-by: Casey Dahlin <sadmac@google.com> Reviewed-by: Ben Keller <galbanum@google.com> Commit-Queue: Steven Grady <slgrady@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.