Messages in this thread | | | From | Raphaël Beamonte <> | Date | Fri, 4 Sep 2015 11:12:25 -0400 | Subject | Re: [PATCH 11/15] tools lib api: Add mount support for fs |
| |
2015-09-04 11:00 GMT-04:00 Steven Rostedt <rostedt@goodmis.org>: > I will also add that the reason the /sys/kernel/debug directory is > created when DEBUGFS is enabled, was specifically so that tools had a > place to automatically mount it when needed. That was the entire > purpose of that directory.
Makes sense! It's also true that, as you both mentioned, it makes perf more user friendly. I wasn't sure to what extent that was the purpose though! Thanks for the clarifications!
2015-09-02 3:56 GMT-04:00 Jiri Olsa <jolsa@kernel.org>: > Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) > interface that tries to mount the filesystem in case no mount is found. > > Link: http://lkml.kernel.org/n/tip-ja49vwfiq2qqkmoxx9yk26lm@git.kernel.org > Signed-off-by: Jiri Olsa <jolsa@kernel.org> > --- > tools/lib/api/fs/fs.c | 44 +++++++++++++++++++++++++++++++++++++++----- > tools/lib/api/fs/fs.h | 15 +++++++++++---- > 2 files changed, 50 insertions(+), 9 deletions(-)
The patch is fine by me! My Reviewed-by can be added if wanted :o) Reviewed-by: Raphaël Beamonte <raphael.beamonte@gmail.com>
| |