Re: [RFC][PATCH 0/5] tracing: Add new file system tracefs
From: Steven Rostedt
Date: Wed Jan 21 2015 - 20:47:13 EST
On Thu, 22 Jan 2015 07:00:07 +0800
Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> Any chance you can use kernfs as your "basis" for this filesystem
> instead of having to roll all of your own functions? I'm slowly
> working on moving debugfs to it, and it should save a lot of code
> there, as well as fixing some "problems" we have in debugfs file
> lifetimes when things are removed from the system.
Someone else told me about doing this too. I'll take a look at it.
>
> And given the number of mistakes in this submission, I'll wait for a
> v2 before really reading the code :)
Well, if I switch to using kernfs, I expect we should ignore this
version as well, as I would think it would make this series obsolete.
Also, if that's the case, I guess I could keep all the "tracefs" code
in kernel/tracing and not place it in the fs/ directory? Kind of like
what cgroups does.
-- Steve
--
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/