[PATCH 00/14] arm_pmu: ACPI support
Mark Rutland
mark.rutland at arm.com
Mon Apr 3 04:12:02 PDT 2017
Hi,
On Mon, Apr 03, 2017 at 04:11:42PM +0530, Ganapatrao Kulkarni wrote:
> On Wed, Mar 22, 2017 at 2:46 PM, Ganapatrao Kulkarni
> <gpkulkarni at gmail.com> wrote:
> > i am not able to run with latest perf tool, i see issue with memory
> > corruption in malloc
> > is this seen from anyone else too?
> > i am not sure, is this issue with my setup?
> >
> > root at VAL1-13>perf>> perf stat -e armv8_pmuv3_0/br_mis_pred/ sleep 1
> >
> > Performance counter stats for 'sleep 1':
> >
> > 10,815 armv8_pmuv3_0/br_mis_pred/
> >
> > 1.001232167 seconds time elapsed
> >
> > root at VAL1-13>perf>> ./perf stat -e armv8_pmuv3_0/br_mis_pred/ sleep 1
> > *** Error in `./perf': free(): invalid next size (fast): 0x00000000086a7a00 ***
> > Aborted (core dumped)
> > root at VAL1-13>perf>> ./perf -v
> > perf version 4.11.rc3.g093b99
> > root at VAL1-13>perf>> perf -v
> > perf version 4.8.rc6.g21c488
> > root at VAL1-13>perf>> uname -a
> > Linux VAL1-13 4.11.0-rc2-12139-g3804e12 #1 SMP PREEMPT Wed Mar 22
> > 06:26:28 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux
> > root at VAL1-13>perf>>
>
> i did bisect, and i see your patch,
>
> 7e3fcffe955440101493cd8f32f75840ddf87b6f
> perf pmu: Support alternative sysfs cpumask
>
> is causing this failure. if i suppress the call to function cpu_map__read
> then memory corruption is not seen.
Thanks for tracking this down.
I can reproduce this on some machines; I'll try to see how this can be
fixed shortly.
Thanks,
Mark.
More information about the linux-arm-kernel
mailing list