Showing posts with label solaris. Show all posts
Showing posts with label solaris. Show all posts

Tuesday, July 19, 2011

See version of Solaris package

[root@julienas] 0 > pkgparam -d . OMNI-A3ME VERSION
SUS-9.02SP5EECNN.OMNIA3ME.ECN9Z5N

Voir les commandes executees par pkgadd

pkgadd -v -d .

Monday, July 18, 2011

gprof enabling

  • Add the ”-pg” option to every .o compilation + to the exe also.
  • Link with static versions of libraries that need being profiled.

Example given:

cd /vob/signalware/Master/scos
swmake gprof
cd /vob/signalware/Master/test/tcap/c7
rm /vob/signalware/Master/library/libscos.so
clearmake -V "PROT_FLAGS=-DC7_Q" gprof

Then running c7icptrans should produce a gmon.out.

To extract the information from gmon.out, use gprof:

gprof /export/home/omni_9S5/bin/test/c7icptrans gmon.out > gprof.txt

Trace system calls from libFt in is41tst32

truss -u libFt:: /export/home/omni/bin/is41tst32 -debug -alone -node A71 -prot A7 -lpc 1-85-2 -rpc 1-85-2 -lssn -rssn 6 -ninvoke 200 0xffff