diff options
Diffstat (limited to 'trace-cmd.h')
-rw-r--r-- | trace-cmd.h | 2 |
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; | |||
127 | struct tracecmd_output *tracecmd_create_file_latency(const char *output_file, int cpus); | 127 | struct tracecmd_output *tracecmd_create_file_latency(const char *output_file, int cpus); |
128 | struct tracecmd_output *tracecmd_create_file(const char *output_file, | 128 | struct 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); |
130 | struct tracecmd_output *tracecmd_create_init_fd(int fd, int cpus); | ||
130 | void tracecmd_output_close(struct tracecmd_output *handle); | 131 | void tracecmd_output_close(struct tracecmd_output *handle); |
131 | struct tracecmd_output *tracecmd_copy(struct tracecmd_input *ihandle, | 132 | struct 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 | ||
138 | void tracecmd_free_recorder(struct tracecmd_recorder *recorder); | 139 | void tracecmd_free_recorder(struct tracecmd_recorder *recorder); |
139 | struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu); | 140 | struct tracecmd_recorder *tracecmd_create_recorder(const char *file, int cpu); |
141 | struct tracecmd_recorder *tracecmd_create_recorder_fd(int fd, int cpu); | ||
140 | int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); | 142 | int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); |
141 | void tracecmd_stop_recording(struct tracecmd_recorder *recorder); | 143 | void tracecmd_stop_recording(struct tracecmd_recorder *recorder); |
142 | void tracecmd_stat_cpu(struct trace_seq *s, int cpu); | 144 | void tracecmd_stat_cpu(struct trace_seq *s, int cpu); |