Regarding usage of perf tools
Peter Teoh
htmldeveloper at gmail.com
Sun Jul 8 02:23:54 EDT 2012
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 <htmldeveloper at gmail.com> 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 <
> p.ittershagen at googlemail.com> 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
>> Kernelnewbies at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
>
> --
> Regards,
> Peter Teoh
>
--
Regards,
Peter Teoh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120708/a01a56cb/attachment.html
More information about the Kernelnewbies
mailing list