Stop using procfs on FreeBSD.
Open
Nobody has claimed this yet.
portability
- Dominant language
- C
- Stars
- 11.2k
- Forks
- 1.6k
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 13
Description
procfs is being deprecated on FreeBSD, so instead use e.g. kinfo_getvmmap(3) instead for heap profile dumping. See comment on bf543df20ccd9e2c422751908cabf073bc7f5d4b for additional information.
Contributor guide
No contributing guide indexed for this repository
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 by reviewing the heap profile dumping implementation and the comment on commit bf543df20ccd9e2c422751908cabf073bc7f5d4b. Investigate how procfs is used on FreeBSD and how kinfo_getvmmap(3) can provide the needed mapping information. Done means FreeBSD heap profile dumping no longer depends on procfs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100