From: Namhyung Kim Date: Thu, 12 Dec 2013 07:36:15 +0000 (+0900) Subject: tools lib traceevent: Refactor pevent_filter_match() to get rid of die() X-Git-Tag: v3.14-rc1~171^2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41e12e580a7b0c151199f927193548b84d3e874c;p=pandora-kernel.git tools lib traceevent: Refactor pevent_filter_match() 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 err to save error info during the test and also pass it to internal test functions. The return value of pevent_filter_match() also converted to pevent_errno to indicate an exact error case. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1386833777-3790-13-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed