commit | d4362d642e5cfd50671eba250b5888a89a88691a | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Sat Sep 20 09:55:52 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Sep 25 15:24:14 2014 +0200 |
tree | 31d59689cd4170c5a58ff9a9949bc8425ebe804b | |
parent | 4f2280b2190e39aa6761cc8188626ed9aad350c1 [diff] |
blkdebug: show an error for invalid event names It is easy to typo a blkdebug configuration and waste a lot of time figuring out why no rules are matching. Push the Error** down into add_rule() so we can report an error when the event name is invalid. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Gonglei <arei.gonglei@huawei.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>