>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/