intel / intel/PerfSpect

Add support for 'start/pause/resume' functionality in perf

Open
#67 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
453
Forks
60
Avg merge
1d 18h
Merged PRs (30d)
3

Description

### 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/825a5132-b58d-c0b6-b050-5a6040386ec7@linux.intel.com/ . 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.