diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-03-19 22:47:29 +0100 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-03-24 15:21:37 -0400 |
commit | b5675fd259d9d5f81d73915f158e9db08baf942d (patch) | |
tree | 971a00180e76f79764f8d13ead92b4db2beae131 | |
parent | c49f58a8eac527a7e14056aaf2bc9e404e08ac36 (diff) | |
download | trace-cmd-b5675fd259d9d5f81d73915f158e9db08baf942d.tar.gz |
trace-cmd: remove an unused declaration
The function tracecmd_create_buffer_recorder_pipe() is declared
but not implemented. For some reason some python versions want
to link it, even though it probably cannot be used in python
anyway, so this is causing issues.
Remove the unused declaration.
Reported-by: Gil Tribush <gil.tribush@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r-- | trace-cmd.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/trace-cmd.h b/trace-cmd.h index 102be0db..62d21cc7 100644 --- a/trace-cmd.h +++ b/trace-cmd.h @@ -257,7 +257,6 @@ struct tracecmd_recorder *tracecmd_create_recorder_maxkb(const char *file, int c struct tracecmd_recorder *tracecmd_create_buffer_recorder_fd(int fd, int cpu, unsigned flags, const char *buffer); struct tracecmd_recorder *tracecmd_create_buffer_recorder(const char *file, int cpu, unsigned flags, const char *buffer); struct tracecmd_recorder *tracecmd_create_buffer_recorder_maxkb(const char *file, int cpu, unsigned flags, const char *buffer, int maxkb); -struct tracecmd_recorder *tracecmd_create_buffer_recorder_pipe(const char *file, int cpu, unsigned flags, const char *buffer, int *brass); int tracecmd_start_recording(struct tracecmd_recorder *recorder, unsigned long sleep); void tracecmd_stop_recording(struct tracecmd_recorder *recorder); |