Remove unused wait_event and stat_event definitions
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 342
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 52
Description
Description
The files wait_event/ob_wait_event.h and statistic_event/ob_stat_event.h contain all the kernel's wait event and statistic event definitions. Many of these definitions are unused and should be identified and removed from the repository.
Unused definitions fall into two categories:
- Those that are not referenced anywhere in the code.
- Those where the macro parameter
enablefield is passed asfalse; these are effectively not compiled.
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
Start with wait_event/ob_wait_event.h and statistic_event/ob_stat_event.h, then search the repository for each definition and its enable parameter usage. Confirm which definitions have no references or are disabled with enable set to false. Done means removing only those unused definitions while preserving referenced events and keeping the project buildable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- observability
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100