Visit Jeremy's Blog.
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, 10: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 06:08 AM.
Old 07-28-2014, 12:14 AM   #2
Senior Member
Registered: Sep 2010
Location: Wellington, New Zealand
Distribution: Slackware, Fedora, NetBSD
Posts: 1,058

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

Also, there is no question here.
Old 07-28-2014, 06: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 11:51 AM
gcc -pg, but no gmon.out produced? Some__Guy Programming 6 06-25-2011 11:17 AM
Problem with gprof, no gmon.out file !! taj2000 Linux - Software 2 05-21-2009 10:01 PM
gprof: gmon.out: not in a.out format hemk76 Programming 7 11-06-2005 11:05 AM
gprof: gmon.out file is missing call-graph data hemk76 Programming 0 01-08-2005 12:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration