From f337c4a6b307240571bb0cbc1e088bffeb28340b Mon Sep 17 00:00:00 2001 From: "data-plane-api(Azure Pipelines)" Date: Wed, 8 Dec 2021 00:15:24 +0000 Subject: [PATCH] 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 Mirrored from https://github.com/envoyproxy/envoy @ 4c76813087c07171996d2cd8a9c591604b9124d8 --- envoy/config/bootstrap/v3/bootstrap.proto | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/envoy/config/bootstrap/v3/bootstrap.proto b/envoy/config/bootstrap/v3/bootstrap.proto index 19af0e81..bde4d5c3 100644 --- a/envoy/config/bootstrap/v3/bootstrap.proto +++ b/envoy/config/bootstrap/v3/bootstrap.proto @@ -41,7 +41,7 @@ option (udpa.annotations.file_status).package_version_status = ACTIVE; // ` for more detail. // Bootstrap :ref:`configuration overview `. -// [#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