On Sun, 25 Jan 2015 17:41:00 +0100
Jiri Olsa wrote:
> On Sat, Jan 24, 2015 at 01:13:31PM -0500, Steven Rostedt wrote:
>
> > - debugfs_found = true;
> > -
> > - return debugfs_mountpoint;
> > + return find_mountpoint("debugfs", (long) DEBUGFS_MAGIC,
> > + debugfs_m
On Sat, Jan 24, 2015 at 01:13:31PM -0500, Steven Rostedt wrote:
SNIP
> /* find the path to the mounted debugfs */
> const char *debugfs_find_mountpoint(void)
> {
> - const char * const *ptr;
> - char type[100];
> - FILE *fp;
> -
> if (debugfs_found)
> return (co
From: "Steven Rostedt (Red Hat)"
In preparation for adding tracefs for perf to use, create a findfs
helper utility that find_debugfs uses instead of hard coding the search
in the code. This will allow for a find_tracefs to be used as well.
Signed-off-by: Steven Rostedt
---
tools/lib/api/Makefi
3 matches
Mail list logo