X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Fevents-internal.h;h=be111c1710144a86056cb6441ab8357a2a31ba65;hb=1b168db0ed3a64fb3513d6cacff1d0d96a7ae35d;hp=56b7e6b9dbcbe42b79c5bdc214c43e8d4b31dbc6;hpb=e003ab503def7b0db6c130cccbc03685adb32bbb;p=babeltrace.git diff --git a/include/babeltrace/ctf/events-internal.h b/include/babeltrace/ctf/events-internal.h index 56b7e6b9..be111c17 100644 --- a/include/babeltrace/ctf/events-internal.h +++ b/include/babeltrace/ctf/events-internal.h @@ -21,6 +21,14 @@ * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. */ #include @@ -40,6 +48,12 @@ struct bt_ctf_event { struct bt_ctf_event_decl { struct ctf_event_declaration parent; + GPtrArray *context_decl; + GPtrArray *fields_decl; + GPtrArray *packet_header_decl; + GPtrArray *event_context_decl; + GPtrArray *event_header_decl; + GPtrArray *packet_context_decl; }; struct bt_ctf_iter { @@ -62,6 +76,10 @@ struct bt_ctf_iter { * bt_iter. */ GPtrArray *dep_gc; + uint64_t events_lost; }; +void ctf_print_discarded(FILE *fp, struct ctf_stream_definition *stream, + int end_stream); + #endif /*_BABELTRACE_CTF_EVENTS_INTERNAL_H */