On Wed, 26 Aug, at 03:46:44PM, Jiri Olsa wrote: > There's no need for find_tracing_dir, because perf already > searches for debugfs/tracefs mount on start and populate > tracing_events_path. I'm getting a bit lost searching through the git history of these functions. Why is it safe to delete these functions? Where did the old user that required find_tracing_dir() to mount debugfs disappear to?
The code to do the mount of debugfs/tracefs when perf starts appears to have been around for years. Is the mounting operation of find_tracing_dir() just dead code? -- Matt Fleming, Intel Open Source Technology Center -- 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/