diff options
author | twerth <twerth@google.com> | 2018-07-31 04:52:54 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-07-31 04:54:54 -0700 |
commit | 1e5514902007f8919a52fcd77d939ef6f09c9a9d (patch) | |
tree | 92fa9dacd5e7ec1fd414b64ac2a610845e9cc790 /src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java | |
parent | 03a20ef89bf3c7b1c90f69ce4ae1eb841419bb03 (diff) |
Add option to post ProfileStartedEvent containing the profile's path.
RELNOTES: None
PiperOrigin-RevId: 206741115
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java b/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java index cef27315e6..4a32b2c405 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/CommonCommandOptions.java @@ -204,6 +204,14 @@ public class CommonCommandOptions extends OptionsBase { public boolean enableTracerCompression; @Option( + name = "experimental_post_profile_started_event", + defaultValue = "false", + documentationCategory = OptionDocumentationCategory.LOGGING, + effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.BAZEL_MONITORING}, + help = "If set, Bazel will post the ProfilerStartedEvent including the path to the profile.") + public boolean postProfileStartedEvent; + + @Option( name = "profile", defaultValue = "null", documentationCategory = OptionDocumentationCategory.LOGGING, |