2015-09-04 11:00 GMT-04:00 Steven Rostedt <rost...@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 <jo...@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-ja49vwfiq2qqkmoxx9yk2...@git.kernel.org > Signed-off-by: Jiri Olsa <jo...@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.beamo...@gmail.com> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/