{"push_id":1814824801,"size":30,"distinct_size":30,"ref":"refs/heads/stable-2.0","head":"65cbebeffddfc58e42600933ec511ad03bd59239","before":"4552254a68798e90ea624f0612deba649f9061e2","commits":[{"sha":"bb1143d68e3dbc2ba088d86fb841af6538d6151a","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"debug-info fix: packet_context is optional\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/bb1143d68e3dbc2ba088d86fb841af6538d6151a"},{"sha":"33b228cbb7c4c64e6e6f5919c13147ddbf564b8e","author":{"name":"Jérémie Galarneau","email":"b2904a077c0f056a37104cebfdf878ea50f5b375@efficios.com"},"message":"Add BT_LOG*_ERRNO() logging macros\n\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/33b228cbb7c4c64e6e6f5919c13147ddbf564b8e"},{"sha":"daaa18514149467f14baa97a2e6d9c461152a421","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Fix: flush stream without packet_context\n\nEnsure we can flush a stream with only one packet if it does not have a\npacket_context or the packet_size field.\n\nAlso truncate the stream to the content_size instead of the default 32kB\npacket size.\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/daaa18514149467f14baa97a2e6d9c461152a421"},{"sha":"ac04c35047386377a6606fdefe4b224cb52ece3e","author":{"name":"Jérémie Galarneau","email":"b2904a077c0f056a37104cebfdf878ea50f5b375@efficios.com"},"message":"Fix: Stream classes' id field is always serialized\n\nA stream class' \"id\" must not be expressed in the trace metadata\nif the trace's packet header does not contain a stream_id field.\nOtherwise, the reader will try to ensure the packets' stream_id\ncorresponds to the stream class' id and will fail to do so.\n\nThe fix is to omit the serialization of the stream class' id\nfield entirely if the stream_id field is not found within the\ntrace's packet header.\n\nIt remains unclear whether or not a stream class has an actual\n\"id\" in this case, or if some \"unspecified\" id state should\nbe implemented.\n\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/ac04c35047386377a6606fdefe4b224cb52ece3e"},{"sha":"d7c5164e68503a1b76ffcc9adaf3a78528682b1f","author":{"name":"Philippe Proulx","email":"7f54d3bc8664769a44e8d6f2cb957773882f84cb@gmail.com"},"message":"Add BT_CTF_INTEGER_BASE_UNSPECIFIED\n\nThis is in preparation for CTF 2 in which a default base is not\nspecified for integer-like field types.\n\nsink.text.pretty defaults to BT_CTF_INTEGER_BASE_DECIMAL when it gets\nBT_CTF_INTEGER_BASE_UNSPECIFIED.\n\nSigned-off-by: Philippe Proulx <eeppeliteloop@gmail.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/d7c5164e68503a1b76ffcc9adaf3a78528682b1f"},{"sha":"ddb020e3d20f4dc3b00d9d199377f3c2552ec7f3","author":{"name":"Philippe Proulx","email":"7f54d3bc8664769a44e8d6f2cb957773882f84cb@gmail.com"},"message":"plugins/lttng-utils/Makefile.am: add all source files to _SOURCES var.\n\nSigned-off-by: Philippe Proulx <eeppeliteloop@gmail.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/ddb020e3d20f4dc3b00d9d199377f3c2552ec7f3"},{"sha":"35a87db1429f8e2b9982680092deca835808f06e","author":{"name":"Philippe Proulx","email":"7f54d3bc8664769a44e8d6f2cb957773882f84cb@gmail.com"},"message":"test_ctf_writer.c: do not check for invalid event class name\n\nAll event class names are valid. This is an old limitation.\n\nSigned-off-by: Philippe Proulx <eeppeliteloop@gmail.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/35a87db1429f8e2b9982680092deca835808f06e"},{"sha":"da1a2e66adf80f32f03ad3267507bfec9c4a65c7","author":{"name":"Philippe Proulx","email":"7f54d3bc8664769a44e8d6f2cb957773882f84cb@gmail.com"},"message":"BT_CTF_BYTE_ORDER_NONE -> BT_CTF_BYTE_ORDER_UNSPECIFIED to match base\n\nSigned-off-by: Philippe Proulx <eeppeliteloop@gmail.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/da1a2e66adf80f32f03ad3267507bfec9c4a65c7"},{"sha":"9cf5d0834a3ed20b286520a105a5bc3bc629e190","author":{"name":"Philippe Proulx","email":"7f54d3bc8664769a44e8d6f2cb957773882f84cb@gmail.com"},"message":"Remove the concept of event class attributes\n\nThe concept of event class attributes could be confusing with the\neventual concept of user attributes to be introduced in CTF 2. This is\nnot strictly required for Babeltrace 2.0: we can create dedicated\naccessors for CTF 1.8 attributes (ID, name, log level, EMF URI). This is\nwhat this patch does, removing the attributes API and adding:\n\n* bt_ctf_event_class_get_log_level()\n* bt_ctf_event_class_set_log_level()\n* bt_ctf_event_class_get_emf_uri()\n* bt_ctf_event_class_set_emf_uri()\n\nThere are already accessors for the name and ID attributes. As to the\nstream class ID (`stream_id`) attribute, it should never have existed in\nthe first place because you can always use the parent stream class's ID.\nThus this patch also fixes a bug where there was a synchronization\nproblem between a stream class's ID and the `stream_id` attribute of its\ncontained event classes.\n\nThe bt_ctf_event_class_get_log_level() and\nbt_ctf_event_class_set_log_level() functions use the new\n`enum bt_ctf_event_class_log_level` enumeration which contains all the\nlog levels of LTTng-UST, which happen to be CTF 1.8's log levels too\nbecause Babeltrace 1 prints those names for those values whatever the\ntrace's producer. A translation is performed from the numeric values to\nthis enumeration in plugins/ctf/common/metadata/visitor-generate-ir.c,\nand the reverse is done in plugins/text/pretty/print.c. Knowing this,\nthe `loglevel_string` attribute that visitor-generate-ir.c used to add\nto event classes (and which plugins/text/pretty/print.c used to\npretty-print the names) is removed. This was also an issue because\nBabeltrace 1 does not know `loglevel_string` and sink.ctf.fs, through\nthe CTF writer implementation, was serializing this attribute in the\ngenerated metadata.\n\ntests/lib/test_ctf_writer.c is updated to test the individual accessors\ninstead of the generic attribute API.\n\nplugins/libctfcopytrace/ctfcopytrace.c is updated to copy the known\nattributes intead of using the generic attribute API.\n\nSigned-off-by: Philippe Proulx <eeppeliteloop@gmail.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/9cf5d0834a3ed20b286520a105a5bc3bc629e190"},{"sha":"a0a4aa52bea4880e5f98ec26ffc2aa122a53c217","author":{"name":"Philippe Proulx","email":"7f54d3bc8664769a44e8d6f2cb957773882f84cb@gmail.com"},"message":"ctf: remove strict metadata mode, update automatic CC mapping behaviour\n\nUpdate the automatic mapping of specific fields to clock classes when\nno explicit mapping is found in the integer field type to follow this:\n\n                     | 0 CCs             | 1 CC             | 2+ CCs\n    --------------------------------------------------------------------\n    FT is mapped     | Unreachable       | OK as is         | OK as is\n    FT is not mapped | Map to auto 1 GHz | Map to single CC | Error\n\nThe (FT is not mapped, 0 CC) cell follows Babeltrace 1's behaviour: when\na special timestamp field is found in the packet context\n(`timestamp_begin` or `timestamp_end`) or event header (`timestamp`)\nscope, when this timestamp field is not explicitly mapped to a clock\nclass, and when there's no clock class at this point in the trace, then\ncreate an automatic, 1 GHz clock class and, in this case, name it\n`default`. Map the field to this implicit 1 GHz clock class. See\nsection 8 (\"Clocks\") of CTF v1.8.2.\n\nCell (FT is not mapped, 0 CC) is a fix for old versions of LTTng, and\ncell (FT is not mapped, 1 CC) is a fix for old versions of CTF writer.\nCell (FT is not mapped, 2+ CCs) is an error because we wouldn't know\nwhich clock class to automatically map the field to.\n\nSigned-off-by: Philippe Proulx <eeppeliteloop@gmail.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/a0a4aa52bea4880e5f98ec26ffc2aa122a53c217"},{"sha":"6441d7acb9747c441bc2d82bb0f923e03c5891dd","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Fix: the fields to reset are optional\n\nThis is a not a fatal error, just ignore if the fields are not there.\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/6441d7acb9747c441bc2d82bb0f923e03c5891dd"},{"sha":"b44e22c8640a3bb73998986b9d4ca54f3846f224","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"fs-sink: packet_context is optional\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/b44e22c8640a3bb73998986b9d4ca54f3846f224"},{"sha":"7d532c324a0e9eb237aedb52be9aa54d3219785a","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"copytrace: create empty stream classes by default\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/7d532c324a0e9eb237aedb52be9aa54d3219785a"},{"sha":"2ca6de5cb597b4c40251f1f744cb47b909d31c79","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"copytrace: packet_context is optional\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/2ca6de5cb597b4c40251f1f744cb47b909d31c79"},{"sha":"674221e5addb9bc38e616a29936a15cde4b7949b","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Fix copytrace: copy packet_context\n\nSince we are not filtering the fields in the packet_context anymore, we\ncan now use the deep copy function bt_ctf_field_copy for the\npacket_context.\n\nRefactor the code to work with that and create a function to set the\npacket_context on a packet or on a stream.\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/674221e5addb9bc38e616a29936a15cde4b7949b"},{"sha":"d40cfeb9b211d1e7e86f29b55582fd5a3e351ed3","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Fix: wrong return code check on try_set\n\ntry_set_structure_field_integer can return 0 if it did not perform any\naction, it is not an error.\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/d40cfeb9b211d1e7e86f29b55582fd5a3e351ed3"},{"sha":"c8cb4c2aa30e49e20a8b0071705215a1a1172f3f","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Copy the packet_header in the plugins\n\nThe trimmer, debug-info and fs-sink plugins now copy the packet_header\nfrom the trace received as parameter.\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/c8cb4c2aa30e49e20a8b0071705215a1a1172f3f"},{"sha":"938724091156af29fa2dfb6df194092b6fe88c8e","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Fix: event_header is optional\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/938724091156af29fa2dfb6df194092b6fe88c8e"},{"sha":"673a485c0c6a0e75dc183de6f115790d9a2be6e2","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"Test: validate that the output of ctf-fs sink is identical to source\n\nProcess all the \"succeed\" CTF traces with the CTF-FS sink, check the\nreturn code of babeltrace and compare the number of events in the new\ntrace from the number of events in the source trace.\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/673a485c0c6a0e75dc183de6f115790d9a2be6e2"},{"sha":"cf5d5317e5ec71102458f51ff864268a3c5ae217","author":{"name":"Julien Desfossez","email":"08880cac79913556157d43073e4bc0372f0b889f@efficios.com"},"message":"fs-sink: add the single-trace option\n\nThis option allows the user to control the output directory of the trace\nwritten (instead of the path being derived from the source trace path\nand hostname). This implies that the component only receives one trace.\n\nIf the output directory exists and is not empty, an error is returned.\n\nTo use it:\n--component sink.ctf.fs --path /tmp/out -p single-trace=true\n\nSigned-off-by: Julien Desfossez <jdesfossez@efficios.com>\nSigned-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>","distinct":true,"url":"https://api.github.com/repos/efficios/babeltrace/commits/cf5d5317e5ec71102458f51ff864268a3c5ae217"}]}
{"actor":{"display_login":"jgalar"}}