Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable interruption of PerfSpect with SIGINT (ctrl-c) when collecting data over SSH #145

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

harp-intel
Copy link
Contributor

Changed the target RunCommand interface to accept a boolean that indicates if the SSH connection can be re-used, i.e., use SSH control master.

Changed long running commands, e.g., the report collection master script, to NOT use the SSH control master. This allows SIGINT to stop child processes, e.g., ssh.

Now, if collecting remote data using the 'report' command, ctrl-c will interrupt, and stop, PerfSpect.

@harp-intel harp-intel merged commit de2ff60 into main Jan 9, 2025
4 checks passed
@harp-intel harp-intel deleted the ctrlc branch January 9, 2025 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ctrl-c doesn't stop perfspect report when collecting data on remote target
1 participant