Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-27-2014, 09:52 PM   #1
Registered: Jul 2014
Posts: 65

Rep: Reputation: Disabled
Question gmon.out: No such file or directory

wonder@wonder-VirtualBox:~/layer$ ls
built-in.o gprof.output hello.mod.c main.c modules.order tempfile
cli.c hello.c hello.mod.o main.c~ Module.symvers
cli.c~ hello.c~ hello.o Makefile snull.h
core hello.ko main Makefile~ sysdep.h
wonder@wonder-VirtualBox:~/layer$ sudo gprof ./hello.o

gmon.out: No such file or directory

how to gprofile module

ccflags-y += -pg # enable profiling
obj-m += hello.o

    make -o hello -C /usr/src/linux-headers-3.8.0-29-generic -C /usr/include/i386-linux-gnu/sys M=$(PWD) modules

    make -C /usr/src/linux-headers-3.8.0-29-generic -C /usr/include/i386-linux-gnu/sys M=$(PWD) clean

Last edited by zerop; 07-28-2014 at 05:08 AM.
Old 07-27-2014, 11:14 PM   #2
Senior Member
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
I think maybe some line breaks got lost while posting.

Also, there is no question here.
Old 07-28-2014, 05:07 AM   #3
Registered: Jul 2014
Posts: 65

Original Poster
Rep: Reputation: Disabled
question is how to gprofile module


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
gprof gmon.out no such file or directory laopi Programming 15 08-11-2011 10:51 AM
gcc -pg, but no gmon.out produced? Some__Guy Programming 6 06-25-2011 10:17 AM
Problem with gprof, no gmon.out file !! taj2000 Linux - Software 2 05-21-2009 09:01 PM
gprof: gmon.out: not in a.out format hemk76 Programming 7 11-06-2005 10:05 AM
gprof: gmon.out file is missing call-graph data hemk76 Programming 0 01-07-2005 11:54 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration