Update project's README This patch rewrites the README file as `README.adoc`. `README.adoc` indicates: * What Babeltrace 2 is. * How Babeltrace 2 is different from Babeltrace 1. * What are the project's build-time and run-time requirements. * How to build Babeltrace 2. * How to build Babeltrace 2 for development. * Where the Babeltrace community is. The file refers to the Babeltrace website for the reader to learn more about the project. Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> Change-Id: I1b7ce8e949fb91616f2672f94b7e8d346a6a368b Reviewed-on: https://review.lttng.org/c/babeltrace/+/2177
Remove popt from project's dependencies All of the argument parsing having been moved to use the internal argpar library, we can now stop linking with popt. And since it was the last use of popt in the repo, remove anything related to it. Change-Id: Id2aee4869780e586833d6b6646e12e19c6d78f6a Signed-off-by: Simon Marchi <simon.marchi@efficios.com> Reviewed-on: https://review.lttng.org/c/babeltrace/+/1795 Tested-by: jenkins <jenkins@lttng.org> Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Replace libuuid with internal implementation We use a very small subset of libuuid features to transform UUIDs between their string and binary representation. Plus we have a lot of compat code for different platforms with some unspecified default behavior regarding the use of upper/lower case. Drop the dependency on libuuid and replace it with a minimal internal implementation that respects RFC4122. Change-Id: Ic170ce26ade23d177195cad117bd0fab590b328e Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Reviewed-on: https://review.lttng.org/c/babeltrace/+/1572 Tested-by: jenkins <jenkins@lttng.org> Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Set the minimal version of elfutils to 0.154 elfutils 0.154 is required since it is the first release to include commit 5479725 (dwarf_highpc: Handle DW_AT_high_pc being a constant offset from DW_AT_low_pc). This is fix is required to read DwARF information produced by "modern" (post-2012) GCCs which make use of this DWARF4 capability when generating position independant code. The binaries provided as part of the test suite make use of this feature. Hence, tests will fail with older elfutils versions. Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Babeltrace python binding The Babeltrace Python module can be used to directly control the Babeltrace API inside Python, using 'import babeltrace'. Therefore, it becomes possible to create a Context, add a trace to it, iterate on it, read events and so on from within Python. SWIG >= 2.0 is used to create the wrapper and its 'warning md variable unused' bug is patched in Makefile.am In the interface file, struct and enum are directly copied from the include files. All changes to struct bt_iter_pos and to enums in ctf/events.h and clock-types.h must also be made in the interface file. Signed-off-by: Danny Serres <danny.serres@efficios.com> Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com> Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Update libpopt dependency to 1.13 After careful review of popt cvs tree, after cross-correlation of CHANGE file with source code POPT_ARGFLAG_OPTIONAL updates, identified that the updates to this part of the code end at 1.13. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>