summaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs/tracefs.h
blob: e6f7f5183c87e4369799fe03e9535253c1c2cda0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __API_TRACEFS_H__
#define __API_TRACEFS_H__

#include "findfs.h"

#ifndef TRACEFS_MAGIC
#define TRACEFS_MAGIC          0x74726163
#endif

#ifndef PERF_TRACEFS_ENVIRONMENT
#define PERF_TRACEFS_ENVIRONMENT "PERF_TRACEFS_DIR"
#endif

const char *tracefs_find_mountpoint(void);
int tracefs_valid_mountpoint(const char *debugfs);
char *tracefs_mount(const char *mountpoint);

extern char tracefs_mountpoint[];

#endif /* __API_DEBUGFS_H__ */