Skip to content

Commit

Permalink
Be more explicit on how to load Bazel's JSON profile.
Browse files Browse the repository at this point in the history
RELNOTES: None
PiperOrigin-RevId: 253980709
  • Loading branch information
meisterT authored and copybara-github committed Jun 19, 2019
1 parent ab9c1f5 commit 7bb536d
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,13 @@ public String getTypeDescription() {
public boolean enableProfileByDefault;

@Option(
name = "experimental_generate_json_trace_profile",
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.LOGGING,
effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.BAZEL_MONITORING},
help =
"If enabled, Bazel profiles the build and writes a JSON-format profile into a file in the "
+ "output base."
)
name = "experimental_generate_json_trace_profile",
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.LOGGING,
effectTags = {OptionEffectTag.AFFECTS_OUTPUTS, OptionEffectTag.BAZEL_MONITORING},
help =
"If enabled, Bazel profiles the build and writes a JSON-format profile into a file in"
+ " the output base. View profile by loading into chrome://tracing.")
public boolean enableTracer;

@Option(
Expand Down

0 comments on commit 7bb536d

Please sign in to comment.