git.efficios.com Git - babeltrace.git/rss - formats/ctf/metadata/ctf-test/succeed/ctf-test.txt history http://git.efficios.com?p=babeltrace.git;a=history;f=formats/ctf/metadata/ctf-test/succeed/ctf-test.txt BabelTrace - Trace Format Babel Tower en Efficios Inc. /gitweb/theme/git-logo.png git.efficios.com Git - babeltrace.git/rss - formats/ctf/metadata/ctf-test/succeed/ctf-test.txt history http://git.efficios.com?p=babeltrace.git;a=history;f=formats/ctf/metadata/ctf-test/succeed/ctf-test.txt Sun, 28 May 2017 16:57:39 +0000 Sun, 28 May 2017 16:57:39 +0000 gitweb v.2.34.1/2.34.1 Remove Babeltrace 1 files and reorganize the tree Philippe Proulx <eeppeliteloop@gmail.com> Sat, 1 Apr 2017 01:29:42 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=dc3fffef7b84cc4af1a7c99828fd57a106cd2257 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=dc3fffef7b84cc4af1a7c99828fd57a106cd2257 Remove Babeltrace 1 files and reorganize the tree Remove Babeltrace 1 files and reorganize the tree This is one of the patches that you won't easily forget. This patch removes the remaining legacy files, moving them if we still need them, and reorganizes the tree as such: * formats/ is removed * formats/ctf/ir/ is moved to lib/ctf-ir/ * formats/ctf/writer/ is moved to lib/ctf-writer/ * types/ is removed Because some of the CTF IR and CTF writer objects are so coupled, both components are in libbabeltrace now. The build system creates a symbolic link from libbabeltrace-ctf (where CTF writer used to reside) to libbabeltrace, so that `-lbabeltrace-ctf` still works for the current users of CTF writer. converter/babeltrace-log.c still exists, but it's not build as of this patch because it uses the legacy API. We need to change this to use CTF writer and add it to the Makefile again. Some debug info files are gone because they also use the legacy API. They are updated anyway as part of the upcoming debug info component class. The Python bindings are not covered by this patch: a subsequent patch should fix them at once. Some tests which used the legacy API are removed. The legacy include files are removed, except for include/babeltrace/ctf/event.h which could be included by CTF writer users. The file simply includes all the CTF writer header files now. The functions to serialize integer and floating point number fields are moved to lib/ctf-writer/serialize.c where a light `struct bt_ctf_stream_pos` exists along with a few helper functions for this renamed legacy object. The serialization functions use BT 2 objects now so that the dependency on the legacy API can be dropped. The serialization functions accept a native byte order parameter now. When a field type has a "native" byte order, the real (passed) native byte order must be used. This ensures that: * CTF IR objects do not need to propagate the trace's native byte order to all the contained field types. * Two references to the same field type which are part of two different trace objects can have a native byte order without causing byte order overwriting bugs. The CTF IR code is simplified with this change. Also the bt_ctf_trace_set_byte_order() function refuses the BT_CTF_BYTE_ORDER_NATIVE byte order. I also added internal inline functions to quickly access the parent of some CTF IR object without getting a new reference: * bt_ctf_event_borrow_event_class() * bt_ctf_event_class_borrow_stream_class() * bt_ctf_stream_class_borrow_trace() Since the CTF parser test in formats/ctf/metadata/ was a legacy tool, it's removed in this patch. It's not used anymore by test_ctf_writer (only the converter runs to validate the generated trace). Leaks are fixed in test_ctf_ir_ref and test_trace_listener. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
update test files header to "CTF 1.8" Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Wed, 3 Aug 2011 17:11:57 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=b7beee1d5411e01d477c089756592605c1202be8 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=b7beee1d5411e01d477c089756592605c1202be8 update test files header to "CTF 1.8" update test files header to "CTF 1.8" Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Add text-based metadata header: /* TSDL Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Sun, 31 Jul 2011 17:52:42 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=5eda3dc244a6ad68c74a3bd22fac233182aad0fb http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=5eda3dc244a6ad68c74a3bd22fac233182aad0fb Add text-based metadata header: /* TSDL Add text-based metadata header: /* TSDL Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
trace_uuid -> uuid and add packet metadata support Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Tue, 17 May 2011 12:10:25 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=b4c19c1e0a905f94146e6f319218fb16b7ebbca1 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=b4c19c1e0a905f94146e6f319218fb16b7ebbca1 trace_uuid -> uuid and add packet metadata support trace_uuid -> uuid and add packet metadata support Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Update sequence (type specifier -> field ref), fix definition lookup Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Mon, 16 May 2011 21:10:48 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=98df1c9fb24d5e7e10bf628692011e130e0d8339 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=98df1c9fb24d5e7e10bf628692011e130e0d8339 Update sequence (type specifier -> field ref), fix definition lookup Update sequence (type specifier -> field ref), fix definition lookup Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Update tests to include new packet.header description Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Wed, 4 May 2011 20:00:05 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=f0751d062283ebf3da261ff4d3aba653791d76fe http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=f0751d062283ebf3da261ff4d3aba653791d76fe Update tests to include new packet.header description Update tests to include new packet.header description Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Remove word_size from tests Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Fri, 29 Apr 2011 15:20:16 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=2b9a080d4343d22311473da95f31c3f697e48f48 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=2b9a080d4343d22311473da95f31c3f697e48f48 Remove word_size from tests Remove word_size from tests Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Add metadata test cases Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Fri, 29 Apr 2011 00:39:32 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=152a577195ac7d504935bd59b41a48678d9b22d0 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=152a577195ac7d504935bd59b41a48678d9b22d0 Add metadata test cases Add metadata test cases Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Add enum {} default mapping to "int" type Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Thu, 28 Apr 2011 23:45:49 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=6743829ac9d7ae22c8bcc28b6ad162dd3d0b2104 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=6743829ac9d7ae22c8bcc28b6ad162dd3d0b2104 Add enum {} default mapping to "int" type Add enum {} default mapping to "int" type Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
enum, change enum name <container_type> to enum name : container_type Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Thu, 28 Apr 2011 23:28:19 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=0fbb34a5699c1dcb43d8e2b870390e7041465466 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=0fbb34a5699c1dcb43d8e2b870390e7041465466 enum, change enum name <container_type> to enum name : container_type enum, change enum name <container_type> to enum name : container_type This follows c++0x semantic (upcoming c++ standard). Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Change typealias separator from ":" to ":=" Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Thu, 28 Apr 2011 19:17:55 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=a030d0842e2f7f6d88fbcd496d9e9287a8d5b78e http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=a030d0842e2f7f6d88fbcd496d9e9287a8d5b78e Change typealias separator from ":" to ":=" Change typealias separator from ":" to ":=" Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
metadata: Support empty structures Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Wed, 27 Apr 2011 02:07:51 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=5039b4cc7e13ee486939c06381432ea35ed77bfa http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=5039b4cc7e13ee486939c06381432ea35ed77bfa metadata: Support empty structures metadata: Support empty structures Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Add type_specifier list node Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Tue, 26 Apr 2011 01:33:13 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=3e11b713fa76482be45bff5b067cfab5ab6e9be1 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=3e11b713fa76482be45bff5b067cfab5ab6e9be1 Add type_specifier list node Add type_specifier list node Needed to correctly iterate on type_specifier_list and then iterate on each type_specifier of the list. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Remove enum <32> from tests Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Thu, 21 Apr 2011 18:47:12 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=679d3755182c0ff1672d246ae2cc516244b85824 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=679d3755182c0ff1672d246ae2cc516244b85824 Remove enum <32> from tests Remove enum <32> from tests Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>
Add basic CTF metadata unit tests as "fail" and "succeed" Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Tue, 22 Feb 2011 22:49:17 +0000 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=632f35fe3c439750db5d94e627eb840939fabcf6 http://git.efficios.com?p=babeltrace.git;a=commitdiff;h=632f35fe3c439750db5d94e627eb840939fabcf6 Add basic CTF metadata unit tests as "fail" and "succeed" Add basic CTF metadata unit tests as "fail" and "succeed" Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  • [DB] formats/ctf/metadata/ctf-test/succeed/ctf-test.txt
]]>