From: Steven Rostedt (Red Hat) Date: Mon, 2 Feb 2015 19:35:02 +0000 (-0500) Subject: perf tools: Do not check debugfs MAGIC for tracing files X-Git-Tag: omap-for-v4.2/o2_dc~146^2~66^2~52 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5693c92660970851e95f769ff27397f5098a6296;p=pandora-kernel.git perf tools: Do not check debugfs MAGIC for tracing files It's rather strange to be checking the debugfs MAGIC number for the tracing directory. A system admin may want to have a custom set of events to trace and it should be allowed to let the admin make a temp file (even for tracing virtual boxes, this is useful). Also with the coming tracefs, the files may not even be under debugfs, so checking the debugfs MAGIC number is pointless. 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.546175764@goodmis.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed