tracing c++ functions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lutz Altmann

    tracing c++ functions

    Hi,

    i'm searching a handy way to trace my c++ programms - so that i can
    visually reproduce the
    function call sequence.
    Can anyone recommend a tracing-tool/method ?

    Greetings,
    Lutz
  • Victor Bazarov

    #2
    Re: tracing c++ functions

    Lutz Altmann wrote:
    i'm searching a handy way to trace my c++ programms - so that i can
    visually reproduce the
    function call sequence.
    Can anyone recommend a tracing-tool/method ?
    Repeat after me: "I will get and use a profiler".

    V
    --
    Please remove capital 'A's when replying by e-mail
    I do not respond to top-posted replies, please don't ask


    Comment

    • Lutz Altmann

      #3
      Re: tracing c++ functions

      On 29 Feb., 15:28, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
      Lutz Altmann wrote:
      i'm searching a handy way to trace my c++ programms - so that i can
      visually reproduce the
      function call sequence.
      Can anyone recommend a tracing-tool/method ?
      >
      Repeat after me: "I will get and use a profiler".
      >
      V
      --
      Please remove capital 'A's when replying by e-mail
      I do not respond to top-posted replies, please don't ask
      ok ;)
      whats a good (easy to use) profiler for linux ?

      Comment

      • =?utf-8?Q?David_C=C3=B4me?=

        #4
        Re: tracing c++ functions

        On Fri, 29 Feb 2008 17:13:29 +0100, Lutz Altmann
        <lutz.altmann@m astersong.dewro te:
        On 29 Feb., 15:28, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
        >Lutz Altmann wrote:
        i'm searching a handy way to trace my c++ programms - so that i can
        visually reproduce the
        function call sequence.
        Can anyone recommend a tracing-tool/method ?
        >>
        >Repeat after me: "I will get and use a profiler".
        >>
        >V
        >--
        >Please remove capital 'A's when replying by e-mail
        >I do not respond to top-posted replies, please don't ask
        >
        ok ;)
        whats a good (easy to use) profiler for linux ?

        gprof and compile with -pg

        Comment

        • Lutz Altmann

          #5
          Re: tracing c++ functions

          On 29 Feb., 17:31, David Côme <davidc...@wana doo.frwrote:
          On Fri, 29 Feb 2008 17:13:29 +0100, Lutz Altmann
          >
          >
          >
          <lutz.altm...@m astersong.dewro te:
          On 29 Feb., 15:28, "Victor Bazarov" <v.Abaza...@com Acast.netwrote:
          Lutz Altmann wrote:
          i'm searching a handy way to trace my c++ programms - so that i can
          visually reproduce the
          function call sequence.
          Can anyone recommend a tracing-tool/method ?
          >
          Repeat after me: "I will get and use a profiler".
          >
          V
          --
          Please remove capital 'A's when replying by e-mail
          I do not respond to top-posted replies, please don't ask
          >
          ok ;)
          whats a good (easy to use) profiler for linux ?
          >
          gprof and compile with -pg
          ok i'll give it a try .. thanks

          Comment

          • Anonymous

            #6
            Re: tracing c++ functions

            On Fri, 29 Feb 2008 08:13:29 -0800, Lutz Altmann wrote:
            ok ;)
            whats a good (easy to use) profiler for linux ?
            valgrind --tool=callgrind <-- that's for generating the profiles
            kcachegrind <-- and for viewing them

            Comment

            Working...