[7.1.0] Add support for additional command profiler event types. (#21327)
Also replace the existing Java test with a shell test; the former currently fails with an obscure JVM crash, and it's unclear how to fix it. Note that it's not possible to simultaneously capture multiple event types. PiperOrigin-RevId: 606177945 Change-Id: Id6fbc68c65c1d46092c7a041ce81e1e2ff7f99db
Showing
- src/main/java/com/google/devtools/build/lib/profiler/CommandProfilerModule.java 54 additions, 19 deletions...le/devtools/build/lib/profiler/CommandProfilerModule.java
- src/test/java/com/google/devtools/build/lib/profiler/BUILD 1 addition, 21 deletionssrc/test/java/com/google/devtools/build/lib/profiler/BUILD
- src/test/java/com/google/devtools/build/lib/profiler/CommandProfilerModuleTest.java 0 additions, 66 deletions...evtools/build/lib/profiler/CommandProfilerModuleTest.java
- src/test/shell/bazel/BUILD 8 additions, 0 deletionssrc/test/shell/bazel/BUILD
- src/test/shell/bazel/command_profiler_test.sh 76 additions, 0 deletionssrc/test/shell/bazel/command_profiler_test.sh
Please register or sign in to comment