Re: [perfmon2] [patch] libpfm4 support for arm64, v2

2013-11-19 Thread William Cohen
On 11/04/2013 12:20 PM, Vince Weaver wrote: > Hello > > here's an updated version of the arm64 patch. > > This version does not have any separate "arm64" naming, it just uses > ARM_ARMv8. In theory you can boot a 32-bit kernel on an armv8 machine > so the 64-bit distinction isn't needed anyway.

[perfmon2] [PATCH] Pass the actual size of the buffer to perf_read_buffer()

2013-11-19 Thread William Cohen
A Coverity scan pointed out that the argument for the sizeof() for a perf_read_buffer() call was suspect. The perf_read_buffer() third argument is the size of the buffer pointed to in the second argument. Other places in the code are doing that and this call should also. Signed-off-by: William Co