Re: [PATCH v8 8/9] drivers: perf: hisi: Miscellanous node(MN) event counting in perf

2017-06-14 Thread Zhangshaokun
Hi Mark, On 2017/6/9 21:26, Mark Rutland wrote: > On Mon, May 22, 2017 at 08:48:37PM +0800, Shaokun Zhang wrote: >> 1. Add support to count MN hardware events. >> 2. Mn events are listed in sysfs at /sys/devices/hisi_mn_2/events/ >>The events can be selected as shown in perf list >>e.g.: F

Re: [PATCH v8 8/9] drivers: perf: hisi: Miscellanous node(MN) event counting in perf

2017-06-09 Thread Mark Rutland
On Mon, May 22, 2017 at 08:48:37PM +0800, Shaokun Zhang wrote: > 1. Add support to count MN hardware events. > 2. Mn events are listed in sysfs at /sys/devices/hisi_mn_2/events/ >The events can be selected as shown in perf list >e.g.: For MN_READ_REQUEST event for Super CPU cluster 2 the >

[PATCH v8 8/9] drivers: perf: hisi: Miscellanous node(MN) event counting in perf

2017-05-22 Thread Shaokun Zhang
1. Add support to count MN hardware events. 2. Mn events are listed in sysfs at /sys/devices/hisi_mn_2/events/ The events can be selected as shown in perf list e.g.: For MN_READ_REQUEST event for Super CPU cluster 2 the event format is -e "hisi_mn_2/read_req/" 3. MN PMU doesnot support cou