]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: perf: cap the number of counters to hardware max of 32
authorVineet Gupta <vgupta@synopsys.com>
Mon, 24 Aug 2015 10:37:01 +0000 (13:37 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Thu, 27 Aug 2015 09:27:03 +0000 (14:57 +0530)
commitf8f94ac1d3f29292b21d0bbd72de676d93da6d3f
tree63443ab2b39ad17755e4625f805ae26ce018a364
parent8089caff7b37764c28873efd41a6fef3c80c7923
ARC: perf: cap the number of counters to hardware max of 32

The number of counters in PCT can never be more than 32 (while
countable conditions could be 100+) for both ARCompact and ARCv2

And while at it update copyright dates.

Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/perf_event.h
arch/arc/kernel/perf_event.c