* setitimer() and fork()
@ 2001-01-28 14:46 Kurt Roeckx
0 siblings, 0 replies; only message in thread
From: Kurt Roeckx @ 2001-01-28 14:46 UTC (permalink / raw)
To: linux-kernel
I'm having a problem when I try to profile a program that
fork()'s. The problem is that it does count how many times I'm in
a function, but nothing seems to use any cpu time at all.
If I call setitmer(ITIMER_PROF, ...) again after the
fork, it works as expected. fork() doesn't seem to copy the
timer(s). On other OS's, I don't seem to have to do this.
I'm having this problem with both 2.2, and 2.4. I think it used
to work in older versions.
Is this a bug, or is this intentional?
Kurt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-01-28 14:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-28 14:46 setitimer() and fork() Kurt Roeckx
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox