Re: [libvirt] [PATCH 1/2] perf: Compute cache_l1d config value correctly

2017-01-16 Thread Daniel P. Berrange
On Sat, Jan 14, 2017 at 01:49:59PM +0530, Nitesh Konkar wrote: > This patch computes the .attrConfig value for > cache_l1d correctly and updates the documentation. > The cache_l1d perf event now is renamed as > cache_l1dra perf event for measuring read accesses > for level 1 data cache > >

Re: [libvirt] [PATCH 1/2] perf: Compute cache_l1d config value correctly

2017-01-15 Thread Nitesh Konkar
Hello, My earlier patch with commit id : ae16c95f1bb5591c27676c5de8d383e5612c3568 (Link: https://www.redhat.com/archives/libvir-list/2017-January/msg00226.html ) computed the .attrConfig value incorrectly. The right way to compute .attrConfig value for a PERF_TYPE_HW_CACHE event is listed here (

[libvirt] [PATCH 1/2] perf: Compute cache_l1d config value correctly

2017-01-14 Thread Nitesh Konkar
This patch computes the .attrConfig value for cache_l1d correctly and updates the documentation. The cache_l1d perf event now is renamed as cache_l1dra perf event for measuring read accesses for level 1 data cache Signed-off-by: Nitesh Konkar ---