On Friday 22 August 2008, you wrote:No, i replied to your mail that was sent just to me. Putting everyone back on now sysfs files are meant to have just a single value. Some have a list of values of the same type, but a file that needs a nontrivial parser (even sscanf) is not allowed in sysfs, by convention. There is also the technical limitation of the size to a single page, which makes it hard to write variable size data. It's basically the same as debugfs -- actually I once started a patch to make it a single function call to instantiate a debugfs-like file system, but I never finished that patch. debugfs is a bad idea here because it is not meant for stable interfaces but rather ad-hoc stuff. In a distribution kernel, debugfs is supposed to be empty. ok. ok, makes sense. I think there is still another option, which would be to generalize the profiling interface so it can work with arbitrary file systems. I'm sure that other people can benefit from that as well, e.g. for optimizing boot times on disks. For such a general interface, a per-file ioctl would fit best, and then file systems can implement it if they want, or it can be moved into VFS. Arnd <>< --
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Amit K. Arora | [RFC] Heads up on sys_fallocate() |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Frans Pop | svc: failed to register lockdv1 RPC service (errno 97). |
