[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    RE: Latest Oprofile on Android
From:       Florian Girault <Florian.Girault () furuno ! co ! jp>
Date:       2013-07-30 10:24:46
Message-ID: E70BACB039EACE4F8020B84CF36AC2A718AA48AC () MBX5 ! furunoad ! local
[Download RAW message or body]

PS:

Here is the error during binutil compilation:

	else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I./../include  -W -Wall -Wwrite-strings \
-Wc++-compat -Wstrict-prototypes -pedantic  ./strncmp.c -o strncmp.o rm -f \
./libiberty.a pic/./libiberty.a arm-linux-ar rc ./libiberty.a \
	  ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o ./alloca.o ./argv.o \
./choose-temp.o ./concat.o ./cp-demint.o ./crc32.o ./dyn-string.o ./fdmatch.o \
./fibheap.o ./filename_cmp.o ./floatformat.o ./fnmatch.o ./fopen_unlocked.o \
./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o \
./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o \
./partition.o ./pexecute.o ./physmem.o ./pex-common.o ./pex-one.o ./pex-unix.o \
./safe-ctype.o ./simple-object.o ./simple-object-coff.o ./simple-object-elf.o \
./simple-object-mach-o.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o \
./strsignal.o ./unlink-if-ordinary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o \
                ./xstrdup.o ./xstrerror.o ./xstrndup.o  ./setproctitle.o ./strncmp.o
/bin/bash: arm-linux-ar: command not found
make[2]: *** [libiberty.a] Error 127
make[2]: Leaving directory `/home/user/src/binutils-2.21.51.0.5/libiberty'
make[1]: *** [all-libiberty] Error 2
make[1]: Leaving directory `/home/user/src/binutils-2.21.51.0.5'
make: *** [all] Error 2
user@ubuntu:~/src/binutils-2.21.51.0.5$

In the guide it was written:
./configure --target=arm-linux --host= linux --build=i686 --without-gettext \
--without-intl --prefix=$SRCBLD/lib

But actually host "linux" wasn't recognized, so I set arm-linux instead...


-----Original Message-----
From: $B%8%m!<(B $B%U%m!<%i%s(B 
Sent: Tuesday, July 30, 2013 7:18 PM
To: 'oprofile-list@lists.sf.net'
Subject: Latest Oprofile on Android

Hello,

After playing a little with oprofile on freescale board with android 4.2.2, I \
discovered that there were many issues. By looking a little more, I discovered that \
the version provided by Android seems to be v0.9.1.

Since I am using an ARM cortex A9, and problems were reported I thought that it would \
be better to get the latest version of Oprofile.

However I can't seem to be able to build it successfully.

Is there a good step-by-step guide on how to achieve this?
Or would it be possible to integrate the latest version in the android build?

I tried to follow this guide
http://www.cnx-software.com/2010/03/25/profiling-in-embedded-systems-with-o-profile/

But I had errors during compilation, and in the end I am afraid that I will need a \
newer version of the kernel module also to enable oprofile.

Has anyone used a recent version successfully on Android, and could point me to the \
right steps?

Florian Girault

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
oprofile-list mailing list
oprofile-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oprofile-list


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic