diff --git a/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt b/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt index 30a7c71197f8..bbb58395b359 100644 --- a/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt +++ b/plugins/performanceTesting/commands-model/src/com/intellij/tools/ide/performanceTesting/commands/generalCommandChain.kt @@ -225,12 +225,12 @@ fun T.startProfile(args: String): T = apply { addCommand("${CMD_PREFIX}startProfile $args") } -fun T.startProfile(args: String, profilerParams: String): T = apply { - addCommand("${CMD_PREFIX}startProfile $args $profilerParams") +fun T.startProfile(profileFileName: String, profilerParams: String): T = apply { + addCommand("${CMD_PREFIX}startProfile $profileFileName $profilerParams") } -fun T.stopProfile(args: String = "jfr"): T = apply { - addCommand("${CMD_PREFIX}stopProfile $args") +fun T.stopProfile(profilerParams: String = "jfr"): T = apply { + addCommand("${CMD_PREFIX}stopProfile $profilerParams") } fun T.memoryDump(): T = apply {