Thread (7 messages) 7 messages, 3 authors, 2021-01-19

Re: /proc/cpuinfo not showing all info

From: Greg KH <hidden>
Date: 2021-01-19 10:15:51

On Tue, Jan 19, 2021 at 09:08:23AM +0000, Pankaj  Vinodrao Joshi wrote:
sorry for the last mail that i was not able to convey what i was meaning to, i have noticed for almost all ARCH when i will do $ cat /proc/cpuinfo ,it will shows all cpu related info including cpu frequency but for my case i am getting almost everything except cpu frequency in /proc/cpuinfo.
Now my question is how i can add this cpufreq related info into /proc/cpuinfo ??
Why do you want to add cpu frequency to /proc/cpuinfo?

You can do that, but it will not be the "correct" way to export this
information to userspace so that userspace can properly handle it.
Also what all other alternatives /methods are there to get cpufreq
related info from kernel ??
See what Valdis wrote, that's the correct api to use.

Good luck!

greg k-h

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help