diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-11-26 02:00:54 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-11-26 02:00:54 -0500 |
commit | 2146de64ac0a016bf324f0c1050e47169449bb29 (patch) | |
tree | 80cb4a9dfe471dbaacf9484d566727652037eae1 /trace-cmd.h | |
parent | 6b3810a9f25926d3186b3d533c44781af4bfcbc1 (diff) |
Move struct record from parse-events.h to trace-cmd.h
The libparsevent does not use struct record, it is an entity of
libtracecmd.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'trace-cmd.h')
-rw-r--r-- | trace-cmd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/trace-cmd.h b/trace-cmd.h index 5c9a405..f95f11d 100644 --- a/trace-cmd.h +++ b/trace-cmd.h | |||
@@ -26,6 +26,12 @@ enum { | |||
26 | #define TS_SHIFT 27 | 26 | #define TS_SHIFT 27 |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | struct record { | ||
30 | unsigned long long ts; | ||
31 | int size; | ||
32 | void *data; | ||
33 | }; | ||
34 | |||
29 | struct tracecmd_handle; | 35 | struct tracecmd_handle; |
30 | 36 | ||
31 | struct tracecmd_handle *tracecmd_open(int fd); | 37 | struct tracecmd_handle *tracecmd_open(int fd); |