From: Michael Ellerman Date: Fri, 14 Mar 2014 05:00:30 +0000 (+1100) Subject: powerpc/perf: Reject EBB events which specify a sample_type X-Git-Tag: v3.15-rc1~124^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58b5fb00498ddaaa3f6582751e9eb731189ee4c8;p=pandora-kernel.git powerpc/perf: Reject EBB events which specify a sample_type Although we already block EBB events which request sampling using sample_period, technically it's possible for an event to set sample_type but not sample_period. Nothing terrible will happen if an EBB event does specify sample_type, but it signals a major confusion on the part of userspace, and so we do them the favor of rejecting it. Signed-off-by: Michael Ellerman Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed