Add support for 'start/pause/resume' functionality in perf
- Lingua principale
- Go
- Stelle
- 453
- Fork
- 60
- Merge medio
- 1g 18h
- PR unite (30g)
- 3
Descrizione
### 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_
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il codice che invoca Linux perf e gestisce le opzioni del comando perf. Leggi la documentazione di perf del kernel v5.9 collegata nella issue, quindi segui il modo in cui lo strumento avvia e controlla le misurazioni. Il lavoro è completato quando sono supportati --delay, --ctl-fd e --ctl-fd-ack e vengono inviati i comandi pause e resume.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go, linux
- Ambito
- cli, operating-systems, performance
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100