-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add support for 'start/pause/resume' functionality in perf #67
Comments
echo that. Currently, perfspect telemetry can only run for a duration, or there will be no output if interrupted (control-c). How to force stop perfspect telemetry and generate the output collected so far? |
Found a workaround for perfspect metrics:
|
SIGINT to perfspect will stop metric collection and produce output files. If not, it's a bug. |
SIGINT to perfspect will stop the metric collection but will not produce any output files. |
It is working with Ctrl-C in the terminal, but not with 'kill -SIGINT '. New issue opened: #96 |
What is the problem this feature would solve?
Measuring performance metrics for a) specific application 'phases' or b) during execution of specific code segments or c) during specific 'events' requires the ability to specify start/pause/resume functionality.
What is the feature you are proposing to solve the problem?
add support for start/pause/resume functionality that's in perf since kernel v5.9 and later: https://lore.kernel.org/lkml/[email protected]/ . Specifically, support the --delay, --ctl-fd and --ctl-fd-ack options to delay and to listen for pause and resume commands respectively and add support for sending pause and resume. (I may follow-up with a PR for this)
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: