oprofile seem to not to work in my target( bf-533 ) ?

Document created by sonic Employee on Jul 30, 2013
Version 1Show Document
  • View in full screen mode

2008-12-31 07:32:48     oprofile seem to not to work in my target( bf-533 ) ?

haiping zeng (CHINA)

Message: 67247   

 

 

 

hello,

 

--------------------------------------------------------------------------------

 

my target info:

 

 

 

toolchain: blackfin-toolchain-08r1-8.i386.tar.gz

dist:uClinux-dist-2008R1-RC8.tar.bz2

target:bf-533

 

----------------------------------------------------------------------------------------

 

i do it follow  this paper:

 

http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:oprofile&do=backlink

 

----------------------------------------------------------------------------------------

 

when i first to use it ,i got this info

 

>bfin_opcontrol --init

mkdir: cannot create directory '/dev/oprofile': File exists

 

> bfin_opcontrol --start-daemon &

645

> KSDBG:get cputype=4,counts=1

Using 2.6+ OProfile kernel interface.

Reading module info.

Using log file /var/lib/oprofile/oprofiled.log

 

> bfin_opcontrol --start

> sleep 10

 

 

> bfin_opcontrol --dump

 

 

> opreport -l

 

 

warning: /vmlinux could not be found.

CPU: CPU with timer interrupt, speed 0 MHz (estimated)

Profiling through timer interrupt

samples  %        symbol name

2        100.000  (no symbols)

 

 

what wrong is it?

 

QuoteReplyEditDelete

 

 

2008-12-31 07:34:42     Re: oprofile seem to not to work in my target( bf-533 ) ?

Mike Frysinger (UNITED STATES)

Message: 67248   

 

oprofile is broken in the current release

QuoteReplyEditDelete

 

 

2008-12-31 08:23:16     Re: oprofile seem to not to work in my target( bf-533 ) ?

haiping zeng (CHINA)

Message: 67251   

 

Oh!that sounds terrible!

 

now ,i had to optimize a apps in uclinux runing in bf-533 target!

 

whether there is other tool to replace the oprofile well?

 

Thanks Mike!

QuoteReplyEditDelete

 

 

2008-12-31 08:38:32     Re: oprofile seem to not to work in my target( bf-533 ) ?

Mike Frysinger (UNITED STATES)

Message: 67252   

 

not in the release

QuoteReplyEditDelete

 

 

2008-12-31 09:00:22     Re: oprofile seem to not to work in my target( bf-533 ) ?

haiping zeng (CHINA)

Message: 67254   

 

oh,thanks

 

In which release? oprofile will be OK?

 

 

QuoteReplyEditDelete

 

 

2008-12-31 09:18:11     Re: oprofile seem to not to work in my target( bf-533 ) ?

Mike Frysinger (UNITED STATES)

Message: 67255   

 

the next release it should be OK (2009R1)

QuoteReplyEditDelete

 

 

2009-01-01 03:06:41     Re: oprofile seem to not to work in my target( bf-533 ) ?

haiping zeng (CHINA)

Message: 67267   

 

Thanks a lots!Mike!

 

Look forward to the next release as soon as possible.

 

i have another question :would  the gprof  be port to uclinux by cross compile tool(bfin-uclinux-gcc)?

QuoteReplyEditDelete

 

 

2009-01-01 04:04:16     Re: oprofile seem to not to work in my target( bf-533 ) ?

Mike Frysinger (UNITED STATES)

Message: 67268   

 

there is no gprof support in uClibc.  everything else in the toolchain already works.

Attachments

    Outcomes