-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>>>> "Shehjar" == Shehjar Tikoo <[EMAIL PROTECTED]> writes:
Shehjar> Hi all, I am trying to run gprof on library thats Shehjar> installed on the system as shared library, but I am not Shehjar> getting any relevant output, relevant in the sense, no Shehjar> timings and call graphs either. Shehjar> I tried using both the -p and -pg options with gcc while Shehjar> compiling the library.I also set these options when I Shehjar> compile a program that uses that library, the gmon.out Shehjar> also gets generated but theres no relevant output. Shehjar> Is the above problem because of installing the library as Shehjar> shared? You need a version of the library compiled with profiling and to statically link your app with that library. Default libraries will not contain profiling hooks due to space and efficiency concerns. Regards, - -- Raju - -- Raj Mathur [EMAIL PROTECTED] http://kandalaya.org/ GPG: 78D4 FC67 367F 40E2 0DD5 0FEF C968 D0EF CC68 D17F It is the mind that moves -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/> iD8DBQFBREvAyWjQ78xo0X8RAthkAJ9WCCjkQx06v6xJ1Ov3a1gpsly3XQCgleh+ YrXBfJ/urGMtRjL/5ASa2jM= =aEW1 -----END PGP SIGNATURE----- _______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/