diff options
| author | Jiri Olsa <[email protected]> | 2015-09-02 07:56:33 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-09-02 19:30:47 +0000 |
| commit | 65d4b265103a3cb2f0993c946815157a38797421 (patch) | |
| tree | c5019911c8c3a907b7a701ad83418e81116dd580 /tools/lib/api/fs/tracing_path.c | |
| parent | perf tools: Remove mountpoint arg from perf_debugfs_mount (diff) | |
| download | kernel-65d4b265103a3cb2f0993c946815157a38797421.tar.gz kernel-65d4b265103a3cb2f0993c946815157a38797421.zip | |
perf tools: Move tracing_path stuff under same namespace
Renaming all functions touching tracing_path under same namespace. New
interface is:
char tracing_path[];
- tracing mount path
char tracing_events_path[];
- tracing mount/events path
void tracing_path_set(const char *mountpoint);
- setting directly tracing_path(_events), used by --debugfs-dir option
const char *tracing_path_mount(void);
- initial setup of tracing_(events)_path, called from perf.c
mounts debugfs/tracefs if needed and possible
char *get_tracing_file(const char *name);
void put_tracing_file(char *file);
- get/put tracing file path
Signed-off-by: Jiri Olsa <[email protected]>
Cc: Raphael Beamonte <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Matt Fleming <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions
