On Fri, Sep 02, 2011 at 05:22:35PM +0530, Avik Sil wrote:
See whether this works:
apt-get install linux-linaro-tools-`uname -r` perf stat apt-get update # or something
I think there was an issue with a patch which enabled perf on omap4 but broke it on all other platforms. This patch is present in the linux-linaro-natty tree, but I can't see it in -oneiric. I think it may have been dropped / backed out from the oneiric tree because of the problems it caused:
In linux-linaro-natty/master: commit 457520e3fbce80812c6901c226ec242fdb906c63 (arm: pmu: support pmu/perf on OMAP4)
The perf patch was dropped from linux-linaro-2.6.39 onwards as it apparently caused Panda boot hang (https://bugs.launchpad.net/linux-linaro/+bug/802693).
Mark Rutland posted a patch to fix the introduced problem -- search the linaro-dev archives for [PATCH] Fix NULL-dereference introduced by OMAP4 PMU patch
Avik, because of your quoting style I'm not sure you are ignoring Dave's point here or if you are saying that there was a further problem that caused the entire patch to be dropped? See
http://www.mail-archive.com/linaro-dev@lists.linaro.org/msg04791.html