Hi Mark, Sorry for the confusion. I was cherry-picking from the wrong branch. Now I am able to build perf support successfully after the following steps 1) Merging kvm-perf from your tree on to kvm-arm 2) Then cherrypicking bff6c03618 commit from your tree again on to kvm-arm 3) Enable CONFIG_HW_PERF_EVENTS in kernel config file Can you suggest how I should get the perf binaries ? I am running kvm-arm on a Fast Model with a minimal initrd filesystem and no networking support. So I need to package the perf along with my initrd filesystem. I used a statically linked perf for ARM that I downloaed from a google download site. It seems to work, but it is having permission issues when I try to collect HardwareEvents. It works fine for software events: >perf state -e cpu-clock ls > "works fine" For Hardware events I get the following error > perf stat -e cycles ls > No permission to collect stats. >Consider tweaking /proc/sys/kernel/perf_event_paranoid I did modify perf_event_paranoid with value of -1 which is supposed to take care of any permission issues. So I am not sure if it is an issue with the perf binary that I downloaded or if it is due to some other issues accessing the hardware events counter. Thanks Senthil -----Original Message----- From: Marc Zyngier [mailto:marc.zyngier@xxxxxxx] Sent: Monday, October 29, 2012 4:43 PM To: Sundaram, Senthilkumar Cc: Jessica Allison; kvmarm@xxxxxxxxxxxxxxxxxxxxx Subject: Re: Profiling On Mon, 29 Oct 2012 05:03:44 +0000, "Sundaram, Senthilkumar" <ssundara@xxxxxxxxxxxxxxxx> wrote: > Hi Mark, > > Cherry picking on that commit ID didn't work for me. Is that a valid > commit id? It is valid enough for me... http://git.kernel.org/?p=linux/kernel/git/maz/arm-platforms.git;a=commit;h=bff6c03618ac9129022068205581ab7bda90a186 M. > Thanks > Senthil > >> >> Am I missing a patch or something? > > Try cherry-picking bff6c03618ac9129022068205581ab7bda90a186 from my tree. > > M. > -- > Jazz is not dead. It just smells funny... > > > _______________________________________________ > kvmarm mailing list > kvmarm@xxxxxxxxxxxxxxxxxxxxx > https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm > > _______________________________________________ > kvmarm mailing list > kvmarm@xxxxxxxxxxxxxxxxxxxxx > https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm -- Fast, cheap, reliable. Pick two. _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm