Emulate PR_TASK_PERF_EVENTS_DISABLE
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.7k
- Forks
- 662
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 2
Description
While we're filing perf-event trivia: turns out tasks can disable events attached to them, even if another process created the event (e.g., rr tracer). Obviously this would be disastrous for rr. I doubt if any program we'll ever see uses this though, so just filing for completeness's sake.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names PR_TASK_PERF_EVENTS_DISABLE and its impact on events attached to tasks, but it does not identify files, entry points, or tests. Start by locating rr's Linux perf-event handling and determine the expected behavior for events created by another process; done should include coverage showing the emulation does not disrupt rr tracing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- devtools, operating-systems, reverse-engineering
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100