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 ??
Also what all other alternatives /methods are there to get cpufreq related info from kernel ??
Thanks
From: Greg KH <greg@xxxxxxxxx>
Sent: Tuesday, January 19, 2021 1:25 PM To: Pankaj Vinodrao Joshi <Pankaj.VJ@xxxxxxxxxxxxxxx> Cc: kernelnewbies@xxxxxxxxxxxxxxxxx <kernelnewbies@xxxxxxxxxxxxxxxxx> Subject: Re: /proc/cpuinfo not showing all info On Tue, Jan 19, 2021 at 07:38:13AM +0000, Pankaj Vinodrao Joshi wrote:
> i agree each processor type exports different information but i need to pop up information while i do /proc/cpu also i have observed that almost every arch display information w.r.t frequency. Can you suggest how i can add info related to cpufreq into /proc ? I am sorry, but I can not parse this very well, can you please explain exactly what you wish to do and why the "normal" apis that expose the current frequency of the processor do not work for you? (hint, it's not /proc/cpuinfo) Also, who is demanding this requirement? thanks, greg k-h [EXT] |
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies