trace-cmd library: Remove deprecated APIs for creating an output handler
PATCH v2 10/10 trace-cmd library: Remove deprecated APIs for creating an output handler
With the introduction of the new output handler creation flow, some of the old APIs are not used any more. Removed unused APIs:
tracecmd_create_init_file_glob() tracecmd_create_init_fd_glob() tracecmd_create_init_fd_msg() tracecmd_create_init_file_override()
Signed-off-by Tzvetomir Stoyanov (VMware) <[email protected]>
--- .../include/private/trace-cmd-private.h | 12 +- lib/trace-cmd/trace-output.c | 165 ------------------ 2 files changed, 1 insertion(+), 176 deletions(-)
lib/trace-cmd/include/private/trace-cmd-private.h +1 -11
@@ -280,19 +280,9 @@ int tracecmd_output_write_headers(struct tracecmd_output *handler, struct tracecmd_event_list *list);struct tracecmd_output *tracecmd_create_file_latency (const char *output_file,int cpus); -struct tracecmd_output * -tracecmd_create_init_file_glob (const char *output_file, -struct tracecmd_event_list *list);struct tracecmd_output *tracecmd_create_init_fd (int fd); -struct tracecmd_output * -tracecmd_create_init_fd_glob (int fd,struct tracecmd_event_list *list); -struct tracecmd_output * -tracecmd_create_init_fd_msg (struct tracecmd_msg_handle *msg_handle, -struct tracecmd_event_list *list); +struct tracecmd_output *tracecmd_create_init_file (const char *output_file); -struct tracecmd_output *tracecmd_create_init_file_override (const char *output_file, -const char *tracing_dir, -const char *kallsyms);struct tracecmd_option *tracecmd_add_option (struct tracecmd_output *handle,unsigned short id,int size,const void *data);
lib/trace-cmd/trace-output.c +0 -165
189 lines not on this page · raw message
Signature · 1 line
2.33.1