Clean up JSON profile flags.
diff --git a/buildkite/bazelci.py b/buildkite/bazelci.py
index 8559a1f..26b241f 100755
--- a/buildkite/bazelci.py
+++ b/buildkite/bazelci.py
@@ -953,7 +953,8 @@
     json_profile_out = None
     if action_key in include_json_profile:
         json_profile_out = os.path.join(tmpdir, "{}.profile.gz".format(action_key))
-        json_profile_flags = get_json_profile_flags(json_profile_out)
+        json_profile_flags = ["--profile={}".format(json_profile_out)]
+
 
     capture_corrupted_outputs_flags = []
     capture_corrupted_outputs_dir = None
@@ -1952,15 +1953,6 @@
         handle_bazel_failure(e, "test")
 
 
-def get_json_profile_flags(out_file):
-    return [
-        "--experimental_generate_json_trace_profile",
-        "--experimental_profile_cpu_usage",
-        "--experimental_json_trace_compression",
-        "--profile={}".format(out_file),
-    ]
-
-
 def upload_test_logs_from_bep(bep_file, tmpdir, binary_platform, monitor_flaky_tests):
     bazelci_agent_binary = download_bazelci_agent(tmpdir, binary_platform, "0.1.1")
     execute_command(