aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteven Rostedt (Google) <rostedt@goodmis.org>2022-02-22 19:30:06 -0500
committerSteven Rostedt (Google) <rostedt@goodmis.org>2022-02-23 10:30:29 -0500
commitb277040fde135e634bb90892a360ec1f1c13158d (patch)
treec1c3e864c2cb53cf7973fd64c29a698a050b6200 /include
parentec8e75be54c1d6a3f0681f1976147aa76e5c3f58 (diff)
downloadlibtracefs-b277040fde135e634bb90892a360ec1f1c13158d.tar.gz
libtracefs: Hide tracefs_list_pop() and make it trace_list_pop()
The tracefs_list_pop() is not ready to be exposed as an API. Make it hidden and rename it to trace_list_pop(). Link: https://lore.kernel.org/linux-trace-devel/20220223003012.1334741-6-rostedt@goodmis.org Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'include')
-rw-r--r--include/tracefs-local.h1
-rw-r--r--include/tracefs.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/tracefs-local.h b/include/tracefs-local.h
index bf157e1..926fd02 100644
--- a/include/tracefs-local.h
+++ b/include/tracefs-local.h
@@ -71,6 +71,7 @@ struct tracefs_options_mask *
enabled_opts_mask(struct tracefs_instance *instance);
char **trace_list_create_empty(void);
+int trace_list_pop(char **list);
char *append_string(char *str, const char *delim, const char *add);
int trace_test_state(int state);
diff --git a/include/tracefs.h b/include/tracefs.h
index 1848ad0..301f1b1 100644
--- a/include/tracefs.h
+++ b/include/tracefs.h
@@ -75,7 +75,6 @@ int tracefs_error_clear(struct tracefs_instance *instance);
void tracefs_list_free(char **list);
char **tracefs_list_add(char **list, const char *string);
int tracefs_list_size(char **list);
-int tracefs_list_pop(char **list);
/**
* tracefs_trace_on_get_fd - Get a file descriptor of "tracing_on" in given instance