Re: [PATCH] spi: expose spi_master and spi_device statistics via sysfs

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

 



On Fri, Jun 19, 2015 at 12:02:22PM +0200, Martin Sperl wrote:

> I got a patch in the meantime exposing the following files in
> /sys/devices/platform/soc/20204000.spi/spi_master/spi32766/statistics/:
> bytes
> bytes_rx
> bytes_tx
> bytes_transfer_histo_0-1
> bytes_transfer_histo_1024-2047

> If so then I would post a “basic” patch for the other statistics
> and have debugfs for the histogram as a separate patch.

Either approach works for me, though I suppose we might want to bikeshed
the naming of the histogram files above (but I can't think of better
ideas immediately) and I guess from a user point of view getting the
histogram as a histogram might be more helpful so people might be
happier with debugfs.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux