janestreet / janestreet/magic-trace
Better capability checking for if we can trace the kernel
Open
enhancement
good first issue
- Dominant language
- OCaml
- Stars
- 6.3k
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
Ref https://perf.wiki.kernel.org/index.php/Perf_tools_support_for_Intel%C2%AE_Processor_Trace#Adding_capabilities_to_perf
Right now we just check if the user is root, which covers most cases but isn't precise.
Contributor guide
Research direction
Read the linked perf wiki section first, then locate the existing check that treats root access as sufficient for kernel tracing. Define the capability-based behavior that replaces the broad root check, and consider the tracing cases that must be distinguished before verifying the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, ocaml
- Domain
- operating-systems, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100