Switch internal default option for the profile.

This should be a no-op.

PiperOrigin-RevId: 345437338
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 663fe23..98e7f9e 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
@@ -216,14 +216,16 @@
   public String oomMessage;
 
   @Option(
-      name = "experimental_generate_json_trace_profile",
-      defaultValue = "false",
+      name = "generate_json_trace_profile",
+      oldName = "experimental_generate_json_trace_profile",
+      defaultValue = "auto",
       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;
+              + " the output base. View profile by loading into chrome://tracing. By default Bazel"
+              + " writes the profile for all build-like commands and query.")
+  public TriState enableTracer;
 
   @Option(
       name = "json_trace_compression",