Bug#207063: hppa profiling; debian-hppa please advise
> debian-hppa, can you please advise? Has hppa profiling support? If so,
> how can we detect that? Are there other compile modes that we could and
> should check for?
yes, hppa has profiling support. we fixed it recently...
how about if you compile a small test program with -g -pg, run it and
see if it generates a gmon.out file?
or if you don't want to have to run a test program (e.g. if you support
cross compiling) maybe you can try to build a program that has at least
one function call, do a disassembly on it (objdump -d foo) and see if
get calls to _mcount, which will indicate to profiling is enabled.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
Reply to: