commit | 30420b587db62a3d919d7bc68ef2dd07df5c75fd | [log] [tgz] |
---|---|---|
author | Andrew Price <anprice@redhat.com> | Sat Apr 26 23:00:58 2014 +0100 |
committer | Chris Mason <clm@fb.com> | Wed Sep 24 12:02:09 2014 -0700 |
tree | 47f5a61de3d1022b252d0a81a9b22d8e0a7f26dc | |
parent | ce225d502b505e189c4c138224a3bc50d0e05be5 [diff] |
iowatcher: 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>