mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
tools lib api fs tracing_path: Make tracing_events_path private
Not anymore accessed outside this library, keep it private. Cc: Adrian Hunter <[email protected]> Cc: David Ahern <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Wang Nan <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
7014e0e3bf
commit
789e465058
2 changed files with 1 additions and 4 deletions
|
|
@ -15,8 +15,7 @@
|
|||
|
||||
static char tracing_mnt[PATH_MAX] = "/sys/kernel/debug";
|
||||
static char tracing_path[PATH_MAX] = "/sys/kernel/debug/tracing";
|
||||
char tracing_events_path[PATH_MAX] = "/sys/kernel/debug/tracing/events";
|
||||
|
||||
static char tracing_events_path[PATH_MAX] = "/sys/kernel/debug/tracing/events";
|
||||
|
||||
static void __tracing_path_set(const char *tracing, const char *mountpoint)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,8 +5,6 @@
|
|||
#include <linux/types.h>
|
||||
#include <dirent.h>
|
||||
|
||||
extern char tracing_events_path[];
|
||||
|
||||
DIR *tracing_events__opendir(void);
|
||||
|
||||
void tracing_path_set(const char *mountpoint);
|
||||
|
|
|
|||
Loading…
Reference in a new issue