Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

Roland Dreier
2010-04-08T21:33:59Z

> This was for debugging and clearly could use a better method.
> Some stats are definitely useful and having files per value
> would make scripting easier too.
> I could add /sys/class/infiniband/qib0/ports/1/diag_counters/*
>
> One other place that has multiple values is dumping the QSFP
> data from the IB cable.

You can stick debugging data under debugfs. Or just kill it for now and
figure out how to add it back later.
--
Roland Dreier <rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org> || For corporate legal information go to: