From: Steven Rostedt Date: Tue, 22 Apr 2014 02:23:46 +0000 (-0400) Subject: tools lib traceevent: Fix backward compatibility macros for pevent filter enums X-Git-Tag: omap-for-v3.16/pm-signed~27^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4508793541140723ab862d83095f6b5141d24e49;p=pandora-kernel.git tools lib traceevent: Fix backward compatibility macros for pevent filter enums The return value for pevent_filter_match() is suppose to return FILTER_NONE if the event doesn't have a filter, and FILTER_NOEXIST if there is no filter at all. But the change 41e12e580a7 "tools lib traceevent: Refactor pevent_filter_match() to get rid of die()" replaced the return value with PEVENT_ERRNO__* values and added "backward compatibility" macros that used the old names. Unfortunately, the NOEXIST and NONE macros were swapped, and this broke users that use the old return names. Signed-off-by: Steven Rostedt Link: http://lkml.kernel.org/r/20140421222346.0351ced4@gandalf.local.home Signed-off-by: Jiri Olsa --- Reading git-diff-tree failed