[PATCH v6 10/11] powerpc/perf: Thread IMC PMU functions

2017-04-03 Thread Madhavan Srinivasan
From: Hemant Kumar This patch adds the PMU functions required for event initialization, read, update, add, del etc. for thread IMC PMU. Thread IMC PMUs are used for per-task monitoring. These PMUs don't need any hotplugging support. For each CPU, a page of memory is

[PATCH v6 10/11] powerpc/perf: Thread IMC PMU functions

2017-04-03 Thread Madhavan Srinivasan
From: Hemant Kumar This patch adds the PMU functions required for event initialization, read, update, add, del etc. for thread IMC PMU. Thread IMC PMUs are used for per-task monitoring. These PMUs don't need any hotplugging support. For each CPU, a page of memory is allocated and is kept static