commit 587d637d95f387a40eb79aa22fda6ad54eeeff4b Author: Alberto Bertogli Date: Thu Mar 29 23:44:41 2012 +0100 libfiu 0.90 Signed-off-by: Alberto Bertogli commit 686d801c0d95933c1aa2349cf84f1bf2392a95bb Author: Alberto Bertogli Date: Fri Mar 30 00:29:58 2012 +0100 doc: Update fiu-run and fiu-ctrl manpages Signed-off-by: Alberto Bertogli commit 37181c31a0da8d1160c6424e65889aa032a11466 Author: Alberto Bertogli Date: Thu Mar 29 23:35:20 2012 +0100 doc: Update posix.rst to the new fiu-ctrl and fiu-run parameters This patch updates posix.rst to bring it up to date with the new fiu-ctrl and fiu-run parameters. Signed-off-by: Alberto Bertogli commit 6d9d0664cbe5cf40897625ca75a2921cc03cef37 Author: Alberto Bertogli Date: Thu Mar 29 23:27:47 2012 +0100 utils: Use libc/mm/* instead of libc/mm/malloc in the help examples Some of the commands don't necessarily use malloc(), so convert the examples to libc/mm/* instead. Signed-off-by: Alberto Bertogli commit 4e2dbfa8abc1f1929b3629c5ead54017d27013e8 Author: Alberto Bertogli Date: Thu Mar 29 23:26:34 2012 +0100 preload/posix: Add debugging information This patch adds minor debugging information that can be very useful when tracing failure point evaluations. Signed-off-by: Alberto Bertogli commit c5f4c471f0f0b60837e5dc8093aa639e59633b29 Author: Alberto Bertogli Date: Thu Mar 29 22:57:17 2012 +0100 Simplify remote control commands The remote control commands were specified in many different places, with different ad-hoc parsing and passing to get them from the user to the remote control thread. This patch rewrites how remote control commands get parsed and passed around, unifiying the parsing in the library itself, with a much more extensible and reasonable format. The command line tools are also updated to get the commands directly from the user, and passing them without any need for parsing. The older flags for specifying commands are marked as deprecated and will be removed in future releases. Signed-off-by: Alberto Bertogli commit 5712e84cacf3e16be593ba2c913a32233300d5d3 Author: Alberto Bertogli Date: Wed Mar 28 22:17:20 2012 +0100 tests: Add Python tests This patch adds a simple Python test, and also renames the existing ones in C to make their names more descriptive. Signed-off-by: Alberto Bertogli commit fbfaa640bbe8a2b32dfb7a73e503dc3d35666e62 Author: Alberto Bertogli Date: Wed Mar 28 22:18:23 2012 +0100 python: Fix failinfo reference counting We had a very dumb bug where instead of keeping references to failinfo to avoid GC issues, we were using failnum (which does not need that treatment). This patch fixes that by saving failinfo as originally intended. Signed-off-by: Alberto Bertogli commit d4d466b44ce97967cdbaeddcb66ec5577e24203b Author: Alberto Bertogli Date: Wed Mar 28 21:46:15 2012 +0100 python: Add enable_stack_by_name() This patch implements a wrapper for fiu_enable_stack_by_name(). We don't add fiu_enable_stack() because it takes a C function pointer, and it's not clear that it's useful to have that available in Python at this time. Signed-off-by: Alberto Bertogli commit b17a81b37cf9ba202d1f498cb26f8d68002ff81a Author: Alberto Bertogli Date: Wed Mar 28 00:52:09 2012 +0100 libfiu: Implement fiu_enable_stack() and fiu_enable_stack_by_name() This patch implements two new ways of enable points of failure: fiu_enable_stack() and fiu_enable_stack_by_name(). It allows the user to say "enable the point of failure X, if the function F is on the stack". When X is evaluated, it traverses the stack looking for F, and makes the point fail if the function is found. This relies on some GNU-specific functions, so it's not portable, but it should fail gracefully on platforms where it's not available. There's support in the API for specifying the position of the function F, although it has not been implemented yet. Some very basic tests are introduced, more tests will probably be added in later patches. Signed-off-by: Alberto Bertogli commit 7cb3d44c9c8dfeb70064827447ef8d9005f0c420 Author: Alberto Bertogli Date: Wed Mar 28 00:51:45 2012 +0100 Add doxygen documentation This patch adds doxygen documentation for the public API, and integrates the generation in the build system. It also updates other related documentation files to keep them in sync. Signed-off-by: Alberto Bertogli commit e96826c35845057b289d3e4d0071d2acaa7062c0 Author: Alberto Bertogli Date: Tue Jan 31 01:19:48 2012 +0000 libfiu: Move the method-specific setup out of the common setup_fail() Currently, the internal function setup_fail() takes all posible parameters to set up a failure point, and knows what to set for each method. That results in an ugly API, because it has to take many unnecessary parameters, and the code is harder to follow and more complicated. This patch removes that knowledge from setup_fail(), which now just sets up the basic fields, and leaves the specific fields for each of the fiu_enable_*() functions. Signed-off-by: Alberto Bertogli commit 2b2dd9cc73d1731da28f698e994655384de7f762 Author: Alberto Bertogli Date: Tue Jan 31 01:00:20 2012 +0000 Fix fiu-local.h reference in comments Signed-off-by: Alberto Bertogli