lkml.org 
[lkml]   [1999]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateTue, 2 Nov 1999 00:31:54 +0100 (CET)
FromAndrea Arcangeli <>
SubjectRe: Profiling timer not delivered during syscalls?
On 1 Nov 1999, Patrick J. LoPresti wrote:

>I ran it, and found that the profiling timer is not being delivered

There isn't any timer. -pg will only force gcc to call a function called
mcount() as first thing while entering a new function call.

>while the program is in select(). In fact, I have not been able to

Only userspace calls mcount() so only userspace will be profiled. Have a
look at the difference between the assembler generated w/ and w/o -pg to
better understand the issue.

Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [from the cache]
©2003-2010