Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Forwarding SIGINT to perf #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sebastienros
Copy link
Member

This might not be a good solution, you'll tell me, but at least it explains what was blocking my application from stopping the script.

perf was run in a blocking way, and would not be stopped as I would send the SIGINT to the main process id (the one for perfcollect). With this solution perfcollect correctly receives the SIGINT, and can then forward it to the perf process.

I won't mind if you close it for a better solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant