Results 1 to 3 of 3

Thread: Profiling an application under Linux with gprof

  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Profiling an application under Linux with gprof

    Hi,

    I have seen the article about gprof on the wiki, but I always get the error message:
    Qt Code:
    1. gmon.out: No such file or directory
    To copy to clipboard, switch view to plain text mode 
    My program is build with the "-pg" switch and I have installed the debug version of qt. (Using Kubuntu 7.10)

    Any idea why gprof dosn't work?


    Thanks,
    Lykurg

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Profiling an application under Linux with gprof

    Did you follow the "Run the application as usual" step?

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Profiling an application under Linux with gprof

    Hi, the problem was, that the environment variables wasn't set probably. Sorry.

Similar Threads

  1. Replies: 2
    Last Post: 9th June 2007, 19:19
  2. Replies: 2
    Last Post: 12th January 2007, 11:19
  3. Execution of a qt application on an arm linux device...
    By mahe2310 in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 29th November 2006, 20:14
  4. Porting Qt application on windows from linux
    By safknw in forum Qt Programming
    Replies: 13
    Last Post: 22nd May 2006, 13:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.