[PATCH] RFC: do not detach when we think tracee is going to die

Denys Vlasenko dvlasenk at redhat.com
Wed Aug 31 13:50:16 UTC 2011


On Wed, 2011-08-17 at 14:45 +0400, Dmitry V. Levin wrote:
> > Do you think it would be better if we recommend users of
> > 2.4 kernels to simply stick with older strace versions?
> 
> Do we have an alternative choice now?

Speaking of non-linux-2.6 systems.

I am suspicious about non-Linux systems. I'd expect that
changes to the source are mostly tested on Linux,
and therefore we should see a fair number of errors
on non-Linux builds, especially simple ones a-la
"it stopped compiling because you forgot to rename
a function or a variable in '#ifdef FREEBSD' block".

But we _don't_ see this.

Which makes me wonder whether any non-Linux code we carry
in the tree is actually used by anyone. Do people really build
and use our strace on FreeBSD, SunOS, SVR4 etc?

If not, then we can consider dropping tons of dead code
in those ifdefs.

-- 
vda





More information about the Strace-devel mailing list