[feature request] specify log-level during cpuinfo_initialize()
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 409
- PR merge metrics
- No merged PRs in 30d
Description
Quoted from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918177 :
libcpuinfo library selects log level during compile time.
1. It would be better if one could specify log-level during cpuinfo_initialize().
2. Anyway current compile-time setting is very annoing: on many processors it prints
Note (cpuinfo): Line power management: in /proc/cpuinfo is ignored: value contains only spaces
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 by locating cpuinfo_initialize() and the compile-time logging configuration in the library. Determine how initialization could accept a log level and how the reported /proc/cpuinfo message should be controlled; done means callers can select the level during initialization and the current noisy behavior is addressed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100