Re: missing counter values in sysfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 02, 2018 at 11:53:44PM +0000, Parav Pandit wrote:

> > Now I'm confused even more. :) I really don't want to add special code to the
> > node collector (especially since I don't really know golang), I was wondering
> > whether it makes sense to catch the "N/A (no PMA)" values or do something
> > more sensible like maybe hiding the counters directory instead, until the hw
> > counters are mapped properly. IMHO no values (yet) would be better than illegal
> > values. Or instead of exposing wrong (string) values just set them all to 0, which
> > would "fix" the problem as well.
> > 
> I prefer to hide it with tested patch with rxe at end of the mail thread.
> If there are no objections, I can generate formal patch.
> I have 9+ pending patches for cleanup and fixes in sysfs.c file to come in Leon's queue this week.

I prefer this approach also

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux