LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2005, 07:51 PM   #1
Clementine
LQ Newbie
 
Registered: Feb 2005
Posts: 7

Rep: Reputation: 0
Make and strace


Hi,

Can somebody explain the -j option of make ? how does this work on a single processor? I read that this option is for multiple invocation of commands or"parallel exec" of jobs. But when i strace it ( for e.g strace -F -f -tt -otraceout make -j8 allyesconfig) , i see that none of the system calls have the same timestamp on entry... so how do i really know what parts are being done in parallel? Now im dealing with a specific problem of finding a "happens-before" relation from this trace...Anyone know how i could find the dependencies of the syscalls and happens-before relation from this trace?

I also have another problem :

When i use strace -F -f make -j8 allyesconfig, it works fine.. but when i use
strace -F -f make -j8 bzImage it gives me the following messages and quits:
make: *** wait: No child processes. Stop.
make: *** Waiting for unfinished jobs...
make: *** Waiting for unfinished jobs...

But this works fine if i use either -f or -F but not both...
Can someone tell me why this happens??

Thanx.
 
  


Reply


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
strace app RajRed Linux - Software 1 12-03-2005 12:39 AM
Usage of strace mdb84 Linux - Software 1 03-25-2005 02:13 AM
strace question ronopolis Linux - Software 0 01-19-2005 10:41 AM
strace useradd phoenix_fei Programming 1 11-29-2004 10:32 AM
bash + strace = ..... gearoid Programming 3 05-19-2004 03:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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