aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/api/fs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lib/api/fs')
-rw-r--r--tools/lib/api/fs/tracing_path.c3
-rw-r--r--tools/lib/api/fs/tracing_path.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/tools/lib/api/fs/tracing_path.c b/tools/lib/api/fs/tracing_path.c
index 9b451af0721c..120037496f77 100644
--- a/tools/lib/api/fs/tracing_path.c
+++ b/tools/lib/api/fs/tracing_path.c
@@ -15,8 +15,7 @@
15 15
16static char tracing_mnt[PATH_MAX] = "/sys/kernel/debug"; 16static char tracing_mnt[PATH_MAX] = "/sys/kernel/debug";
17static char tracing_path[PATH_MAX] = "/sys/kernel/debug/tracing"; 17static char tracing_path[PATH_MAX] = "/sys/kernel/debug/tracing";
18char tracing_events_path[PATH_MAX] = "/sys/kernel/debug/tracing/events"; 18static char tracing_events_path[PATH_MAX] = "/sys/kernel/debug/tracing/events";
19
20 19
21static void __tracing_path_set(const char *tracing, const char *mountpoint) 20static void __tracing_path_set(const char *tracing, const char *mountpoint)
22{ 21{
diff --git a/tools/lib/api/fs/tracing_path.h b/tools/lib/api/fs/tracing_path.h
index 904d085b2ae7..a19136b086dc 100644
--- a/tools/lib/api/fs/tracing_path.h
+++ b/tools/lib/api/fs/tracing_path.h
@@ -5,8 +5,6 @@
5#include <linux/types.h> 5#include <linux/types.h>
6#include <dirent.h> 6#include <dirent.h>
7 7
8extern char tracing_events_path[];
9
10DIR *tracing_events__opendir(void); 8DIR *tracing_events__opendir(void);
11 9
12void tracing_path_set(const char *mountpoint); 10void tracing_path_set(const char *mountpoint);