diff options
Diffstat (limited to 'arch/powerpc/perf/hv-gpci.c')
| -rw-r--r-- | arch/powerpc/perf/hv-gpci.c | 10 | 
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/powerpc/perf/hv-gpci.c b/arch/powerpc/perf/hv-gpci.c index 43fabb3cae0f..735e77b09cdb 100644 --- a/arch/powerpc/perf/hv-gpci.c +++ b/arch/powerpc/perf/hv-gpci.c @@ -232,15 +232,6 @@ static int h_gpci_event_init(struct perf_event *event)  		return -EINVAL;  	} -	/* unsupported modes and filters */ -	if (event->attr.exclude_user   || -	    event->attr.exclude_kernel || -	    event->attr.exclude_hv     || -	    event->attr.exclude_idle   || -	    event->attr.exclude_host   || -	    event->attr.exclude_guest) -		return -EINVAL; -  	/* no branch sampling */  	if (has_branch_stack(event))  		return -EOPNOTSUPP; @@ -285,6 +276,7 @@ static struct pmu h_gpci_pmu = {  	.start       = h_gpci_event_start,  	.stop        = h_gpci_event_stop,  	.read        = h_gpci_event_update, +	.capabilities = PERF_PMU_CAP_NO_EXCLUDE,  };  static int hv_gpci_init(void)  |