On 3/31/06, Ingo Oeser <netdev@xxxxxxxx> wrote:Kumar Gala wrote:[snip]Fair, but wouldn't it be better to have the association per client.Such level of detail really belongs to debugging, IMHO.
Maybe leave the one as a summary and have a dir per client with
similar stats that are for each client and add a per channel summary
at the top level as well.
If we implemented more stats then yes debugfs sounds like it might be
the way to go.
BTW: What is the actual frequency, at which such counters
will be incremented?
Currently the code updates these variables (kept per cpu) every time a
copy is queued. See include/linux/dmaengine.h.