stop_profiling
Stops an active JFR recording on a specified Java process and saves it to a file for performance analysis.
Instructions
Stops an active JFR recording and saves it to recordings/new_profile.jfr. Use recordings/new_profile.jfr for current data, recordings/old_profile.jfr for previous (before/after comparison).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | Process ID of the Java process that has the active recording. Must match the pid used in start_profiling. | |
| recordingId | Yes | ID of the recording to stop. This is the recordingId returned by start_profiling (e.g. '1' or '2'). |