summaryrefslogtreecommitdiff
path: root/tools/lib/api/fs/tracing_path.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-05-16 22:27:14 +0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-05-16 22:27:14 +0300
commit17c257e867be1880eaf7c1b9dac286086d75d1ec (patch)
treedaa6a7bd9c5787796b12793f59d2de0d1490f7e8 /tools/lib/api/fs/tracing_path.h
parent00a6270361c025bfaae1d70ef1b596d182e05e8a (diff)
downloadlinux-17c257e867be1880eaf7c1b9dac286086d75d1ec.tar.xz
tools lib api: Unexport 'tracing_path' variable
One should use tracing_path_mount() instead, so more things get done lazily instead of at every 'perf' tool call startup. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Wang Nan <wangnan0@huawei.com> Link: https://lkml.kernel.org/n/tip-fci4yll35idd9yuslp67vqc2@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.h')
-rw-r--r--tools/lib/api/fs/tracing_path.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lib/api/fs/tracing_path.h b/tools/lib/api/fs/tracing_path.h
index 0066f06cc381..1b65decedfc0 100644
--- a/tools/lib/api/fs/tracing_path.h
+++ b/tools/lib/api/fs/tracing_path.h
@@ -4,7 +4,6 @@
#include <linux/types.h>
-extern char tracing_path[];
extern char tracing_events_path[];
void tracing_path_set(const char *mountpoint);