Re: [PATCHv6 3/3] mmc_test: collect data and show it via sysfs by demand

From: Andy Shevchenko
Date: Thu Sep 09 2010 - 01:52:12 EST


On Thu, Sep 9, 2010 at 6:59 AM, Greg KH <greg@xxxxxxxxx> wrote:
> Why is this in sysfs at all anyway?
I don't know. The author of module should be asked.

> Why not put it in debugfs?
I thought about this. I even have somewhere a draft patch.

> And for every sysfs file, you need to have a Documenation/ABI/ entry.
>
> Remember, sysfs is "one value per file". ÂDoes that work with this file?
> At first glance, it doesn't look like it.
>
> Please use debugfs instead.
I guess to optimize a work I may do another patch which shifts from
sysfs to debugfs.

--
With Best Regards,
Andy Shevchenko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/