perf: add support for perfetto performance tracing (#17591)

Add a new build option enabling support for Perfetto SDK which can be used to trace Envoy code paths.

Risk Level: low
Testing: manual
Docs Changes: add notes to bazel/PPROF.md
Release Notes: updated current.rst
Platform Specific Features: n/a
Fixes #16988

Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@intel.com>

Mirrored from https://github.com/envoyproxy/envoy @ 4c76813087c07171996d2cd8a9c591604b9124d8
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent 1dc6b30a9e
commit f337c4a6b3
  1. 6
      envoy/config/bootstrap/v3/bootstrap.proto

@ -41,7 +41,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE;
// <config_overview_bootstrap>` for more detail.
// Bootstrap :ref:`configuration overview <config_overview_bootstrap>`.
// [#next-free-field: 33]
// [#next-free-field: 34]
message Bootstrap {
option (udpa.annotations.versioning).previous_message_type =
"envoy.config.bootstrap.v2.Bootstrap";
@ -326,6 +326,10 @@ message Bootstrap {
//
// Note that the 'set-cookie' header cannot be registered as inline header.
repeated CustomInlineHeader inline_headers = 32;
// Optional path to a file with performance tracing data created by "Perfetto" SDK in binary
// ProtoBuf format. The default value is "envoy.pftrace".
string perf_tracing_file_path = 33;
}
// Administration interface :ref:`operations documentation

Loading…
Cancel
Save