Files
linux/tools/perf/util/sysfs.h
T
Jiri Olsa e90fda0635 perf tools: Add sysfs mountpoint interface
Adding sysfs object to provide sysfs mount information in the same way
as debugfs object does.

The object provides following function:
  sysfs_find_mountpoint

which returns the sysfs mount mount.

Cc: Corey Ashford <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Jiri Olsa <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2012-02-13 23:27:15 -02:00

7 lines
110 B
C

#ifndef __SYSFS_H__
#define __SYSFS_H__
const char *sysfs_find_mountpoint(void);
#endif /* __DEBUGFS_H__ */