Sorry about the mistake. Resending the answer again: I think it is not so simple. For example, for my Sony Ericsson, and from here:
http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/ I downloaded the kernel 4.0.2.A.0.42.tar.bz2 kernel, and from the semc_anzu_config file: CONFIG_MMC_PERF_PROFILING=y Other necessary configuration: CONFIG_HAVE_PERF_EVENTS=y CONFIG_PERF_EVENTS=y CONFIG_PERF_COUNTERS=y are absent and thus not compiled as "y". Recompiling the kernel + setting up the kernel for ARM is necessary, but the basic core perf files are available in this version though. On Sun, Jul 8, 2012 at 2:18 PM, Peter Teoh <[email protected]> wrote: > I think it is not so simple. For example, for my Sony Ericsson, and from > here: > > http://developer.sonymobile.com/wp/2011/05/06/how-to-build-a-linux-kernel/ > > I downloaded the kernel 4 > > > > On Sat, Jul 7, 2012 at 6:59 PM, Philipp Ittershagen < > [email protected]> wrote: > >> Hello Sandeep, >> >> you need an ARM toolchain to compile the perf userspace tool, which is >> the second thing you need in order to use perf on a machine (the first >> thing is the kernel stuff, which you already have). So the things you >> have to do is >> >> (1) compile/install your own ARM toolchain and compile all libraries >> which are needed for perf or >> (2) find a static perf compiled for ARM which you can copy to your device. >> >> Greetings, >> >> Philipp >> >> _______________________________________________ >> Kernelnewbies mailing list >> [email protected] >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > > > > -- > Regards, > Peter Teoh > -- Regards, Peter Teoh
_______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
