mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-10 21:35:08 +00:00
![Arnaldo Carvalho de Melo](/assets/img/avatar_default.png)
Will come in handy for tools, see next patches. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Borislav Petkov <bp@suse.de> Cc: David Ahern <dsahern@gmail.com> Cc: Don Zickus <dzickus@redhat.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/n/tip-nay9j62ztxpytt4ew1tkl4op@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
18 lines
392 B
C
18 lines
392 B
C
#ifndef __API_FS__
|
|
#define __API_FS__
|
|
|
|
#ifndef SYSFS_MAGIC
|
|
#define SYSFS_MAGIC 0x62656572
|
|
#endif
|
|
|
|
#ifndef PROC_SUPER_MAGIC
|
|
#define PROC_SUPER_MAGIC 0x9fa0
|
|
#endif
|
|
|
|
const char *sysfs__mountpoint(void);
|
|
const char *procfs__mountpoint(void);
|
|
|
|
int filename__read_int(const char *filename, int *value);
|
|
int sysctl__read_int(const char *sysctl, int *value);
|
|
#endif /* __API_FS__ */
|