commit | 0d4f986e4aefdb9a32a811730229d07146dc4a3b | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Sat Apr 26 23:00:58 2014 +0100 |
committer | Andrew Price <anprice@redhat.com> | Sat Apr 26 23:00:58 2014 +0100 |
tree | 5101f46bb27b138680d57f3d54690e18d8b29efe | |
parent | 40bb98410dc7b34af866f43324f954128e91db0c [diff] |
Convert start_blktrace to run_program Rework start_blktrace and use run_program to launch blktrace. Move the argv-building into the function so that it's easier to work with and clean it up a bit. Add a signal parameter to wait_program to optionally kill the pid with a given signal before waiting for it. Signed-off-by: Andrew Price <anprice@redhat.com>