Benny Lofgren wrote: > On 2015-10-28 15:32, Michael McConville wrote: > > Andrei-Marius Radu wrote: > >> > >> Is there anyone else who thinks this is needed/a good idea ? > > > > For what it's worth, I was porting htop recently and I think I > > remember it being painful to work without KERN_CPTIME2. I'd have to > > look back (and look at this diff), though. > > +1 on this, I would definitely find this useful. > > Michael, as far as I can tell KERN_CPTIME2 is already in the kernel. > As I understand it, it is just support for access via sysctl(8) that > is lacking. But maybe htop uses that rather than sysctl(3)? Doesn't > seem likely though.
Right, my bad. It must have been something else in htop's FreeBSD or Linux code that I had to work around.