lscpu: Read CPU information from sysfs#220
Conversation
|
@cakebaker Since you mentioned in my previous PR that relying on I took a look at I realize that these changes are pretty much the exact opposite of what you suggested but hopefully the reasoning makes sense 😅 Let me know what you think... |
0c0dae4 to
15ec42c
Compare
e820d58 to
1650af0
Compare
1650af0 to
99c751b
Compare
fcf1da6 to
bc44b86
Compare
|
@alxndrv Your approach using I made my comment with regard to the long-term goal of making our version of |
13417c9 to
2a381e5
Compare
lscpu: Read data from sysfslscpu: Read CPU information from sysfs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
4add9d5 to
748bbf8
Compare
|
Thanks! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #220 +/- ##
===========================
===========================
☔ View full report in Codecov by Sentry. |
Adding a
sysfsmodule tolscpu, to facilitate reading and parsing CPU information out from various files under/sys/.As part of this, implemented the following sections:
Output on my machine after these changes: