Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect both cpuinfo and scaling files #123

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Conversation

SuperQ
Copy link
Member

@SuperQ SuperQ commented Dec 7, 2018

Collect cpufreq cpuinfo and scaling files. They have different
meanings.

  • Ignore not found and unreadable files.
  • Return pointers for uint64 values.

Signed-off-by: Ben Kochie superq@gmail.com

@SuperQ
Copy link
Member Author

SuperQ commented Dec 7, 2018

1.10 fails due to go fmt differnces.

@SuperQ SuperQ force-pushed the bjk/cpuinfo_scaling branch 2 times, most recently from bf2c566 to 40b8307 Compare January 2, 2019 13:36
Collect cpufreq `cpuinfo` and `scaling` files. They have different
meanings.
* Ignore not found and unreadable files.
* Return pointers for uint64 values.

Signed-off-by: Ben Kochie <superq@gmail.com>
Copy link
Member

@discordianfish discordianfish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@SuperQ SuperQ merged commit b1a0a9a into master Jan 4, 2019
@SuperQ SuperQ deleted the bjk/cpuinfo_scaling branch January 4, 2019 11:21
remijouannet pushed a commit to remijouannet/procfs that referenced this pull request Oct 20, 2022
Collect cpufreq `cpuinfo` and `scaling` files. They have different
meanings.
* Ignore not found and unreadable files.
* Return pointers for uint64 values.

Signed-off-by: Ben Kochie <superq@gmail.com>
bobrik pushed a commit to bobrik/procfs that referenced this pull request Jan 14, 2023
…aw_fd

Create `FDInfo` from raw fd and pid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants