From: Steven Rostedt (Red Hat) Date: Mon, 2 Feb 2015 19:35:04 +0000 (-0500) Subject: tools lib api fs: Add tracefs mount helper functions X-Git-Tag: omap-for-v4.2/o2_dc~146^2~66^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ef92c2ecd96ebad171e554020c83ce9fdb343ae;p=pandora-kernel.git tools lib api fs: Add tracefs mount helper functions Since tracefs will now hold the event directory for perf, and even though by default, debugfs still mounts tracefs on the debugfs/tracing directory, the system admin may now choose to not mount debugfs and instead just mount tracefs instead. Having tracefs helper functions will facilitate having perf look for tracefs first, and then try debugfs as a fallback. Signed-off-by: Steven Rostedt Acked-by: Jiri Olsa Cc: Andrew Morton Cc: Ingo Molnar Cc: Masami Hiramatsu Cc: Namhyung Kim Link: http://lkml.kernel.org/r/20150202193552.898934751@goodmis.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed