This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Information on profiling


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

  first of all, I don't know if this is the appropriate list to ask
about this subject. If it's not, sorry for the noise.

  Is there any pointer on how GCC deals to generate profiles (-p/-pg flags)?
  In particular, I'm looking for information on (but not only):

  * How GCC instruments user routines when compiling a C file using -p/-pg

  * Where I can find the instrumentation code (i.e., the code called at
entry and exit points of user routines). Does it belongs to GCC package?
Or maybe belongs to a foreign package lib GLIBC?

  * Where is the alarm set (signal SIGALRM or SIGPROF)?

Thank you very much.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkr4A3wACgkQwMPeuqUCg9yL3gCfRyrmRlAeYyNqVjMtTv9NEZfN
AT8AnijOlrale22w4ctrQvRu9//nEL7B
=G4Jl
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]