aboutsummaryrefslogtreecommitdiffstats
path: root/trace-cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace-cmd.h')
-rw-r--r--trace-cmd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-cmd.h b/trace-cmd.h
index 3b68db1..1db7303 100644
--- a/trace-cmd.h
+++ b/trace-cmd.h
@@ -127,6 +127,7 @@ extern __thread struct tracecmd_input *tracecmd_curr_thread_handle;
127struct tracecmd_output *tracecmd_create_file_latency(const char *output_file, int cpus); 127struct tracecmd_output *tracecmd_create_file_latency(const char *output_file, int cpus);
128struct tracecmd_output *tracecmd_create_file(const char *output_file, 128struct tracecmd_output *tracecmd_create_file(const char *output_file,
129 int cpus, char * const *cpu_data_files); 129 int cpus, char * const *cpu_data_files);
130struct tracecmd_output *tracecmd_create_init_fd(int fd, int cpus);
130void tracecmd_output_close(struct tracecmd_output *handle); 131void tracecmd_output_close(struct tracecmd_output *handle);
131struct tracecmd_output *tracecmd_copy(struct tracecmd_input *ihandle, 132struct tracecmd_output *tracecmd_copy(struct tracecmd_input *ihandle,
132 const char *file); 133 const char *file);
@@ -137,6 +138,7 @@ int tracecmd_append_cpu_data(struct tracecmd_output *handle,
137 138
138void tracecmd_free_recorder(struct tracecmd_recorder *recorder); 139void tracecmd_free_recorder(struct tracecmd_recorder *recorder);
139struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu); 140struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu);
141struct tracecmd_recorder *tracecmd_create_recorder_fd(int fd, int cpu);
140int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); 142int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep);
141void tracecmd_stop_recording(struct tracecmd_recorder *recorder); 143void tracecmd_stop_recording(struct tracecmd_recorder *recorder);
142void tracecmd_stat_cpu(struct trace_seq *s, int cpu); 144void tracecmd_stat_cpu(struct trace_seq *s, int cpu);