public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: renjunqu <renjunqu@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Is there a easy way to use the -finstrument-functions option?
Date: Tue, 25 Oct 2011 07:15:00 -0000	[thread overview]
Message-ID: <32715395.post@talk.nabble.com> (raw)


Hello everyone:
          I want use gcc's "-finstrument-functions" option to hack a
open-source project. But if i want to make the most use of this option, i
should tell the compiler the my own definition of "__cyg_profile_func_enter"
and "__cyg_profile_func_exit" functions. If the project i want to hack will
create many different 'elf' files,and different 'elf' use different source
files,so i have to define the two function in many many files.
          Is there some easy ways to tell the compiler my function's
definition???
                                                                                                 
Ren jun qu  
-- 
View this message in context: http://old.nabble.com/Is-there-a-easy-way-to-use-the--finstrument-functions-option--tp32715395p32715395.html
Sent from the gcc - Help mailing list archive at Nabble.com.

             reply	other threads:[~2011-10-25  7:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25  7:15 renjunqu [this message]
2011-10-25 13:44 ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32715395.post@talk.nabble.com \
    --to=renjunqu@gmail.com \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).