commit | f4e3c080868b17329a69b966199ba07019009569 | [log] [tgz] |
---|---|---|
author | Namhyung Kim <namhyung@kernel.org> | Sat Dec 07 15:00:16 2013 +0000 |
committer | Namhyung Kim <namhyung@kernel.org> | Mon Dec 09 17:50:59 2013 +0900 |
tree | 681dc9c4e58fffdd62bf28ba705129d0fd4b49fa | |
parent | c4aa11dd2c287ac087895e8ee8f06fdb481fc15b [diff] |
tools lib traceevent: Refactor test_filter() to get rid of die() The test_filter() function is for testing given filter is matched to a given record. However it doesn't handle error cases properly so add a new argument error_str to save error info during the test and also pass it to internal test functions. For now, it just save the error but does nothing with it. Maybe it can be given by user through pevent_filter_match() later. Signed-off-by: Namhyung Kim <namhyung@kernel.org>