---------- Forwarded message ----------
From: Dave Martin <dave.mar...@linaro.org>
Date: Wed, Feb 2, 2011 at 4:55 PM
Subject: Re: query regarding perf
To: Sudip Jain <sudip.j...@linaro.org>


On Wed, Feb 2, 2011 at 11:09 AM, Sudip Jain <sudip.j...@linaro.org> wrote:
> I am getting the error when I execute perf on U8500
> No permission to collect stats.
> Consider tweaking /proc/sys/kernel/perf_event_paranoid.
> The problem I think is perf version and kernel version are not same.On
> ubuntu host x86 machine, if I do sudo apt-get install linux-tools-common,
> then perf runs succesfully. Even I downloaded the source code using sudo
> apt-get source linux-tools-common and re-built perf. It works.

Yes, you'll need the perf tools to be (reasonably) in sync with the kernel.

The linux-linaro-tools package provides the tools for the released
kernels, but if you're working with a development kernel it may be
better to build the tools yourself, as you describe.

> Recently my  ubuntu host crashed, I re-installed with 10.04, the kernel
> version is 2.6.32-21 and perf version is 2.6.35.8. So again I am getting
the
> same error (now on ubuntu host) which I mentioned above. Though now I have
> the opportunity to debug the perf code, but that is not my target.
> I am hoping that panda/beagle is fully supported for ubuntu mainstream

AFAIK panda and beagle both ought to work, but please shout if you run
into problems!

Cheers
---Dave
_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to