mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00

Adding tracefs support into fs.c framework. It'll replace the tracefs object functionality in following patches. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Raphael Beamonte <raphael.beamonte@gmail.com> Cc: David Ahern <dsahern@gmail.com> Cc: Matt Fleming <matt@codeblueprint.co.uk> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Steven Rostedt <rostedt@goodmis.org> Link: http://lkml.kernel.org/r/1441180605-24737-11-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
19 lines
484 B
C
19 lines
484 B
C
#ifndef __API_FS__
|
|
#define __API_FS__
|
|
|
|
/*
|
|
* On most systems <limits.h> would have given us this, but not on some systems
|
|
* (e.g. GNU/Hurd).
|
|
*/
|
|
#ifndef PATH_MAX
|
|
#define PATH_MAX 4096
|
|
#endif
|
|
|
|
const char *sysfs__mountpoint(void);
|
|
const char *procfs__mountpoint(void);
|
|
const char *debugfs__mountpoint(void);
|
|
const char *tracefs__mountpoint(void);
|
|
|
|
int filename__read_int(const char *filename, int *value);
|
|
int sysctl__read_int(const char *sysctl, int *value);
|
|
#endif /* __API_FS__ */
|