mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ian Stirling <root@mauve.demon.co.uk>
To: linux-kernel@vger.kernel.org
Subject: Re: Why can't I strace some processes?
Date: Fri, 12 Oct 2001 16:35:21 +0100 (BST)	[thread overview]
Message-ID: <200110121535.QAA30537@mauve.demon.co.uk> (raw)
In-Reply-To: <200110120816.JAA16909@mauve.demon.co.uk> from "Ian Stirling" at Oct 12, 2001 09:16:04 AM

> 
> How do I strace processes that use clone, to create multiple threads?
> I've tried the latest strace.
> Thanks.

Sorry, I was going for concise, and brief, but realise now I probably went
too far.

Details: Kernel 2.4.11 strace 4.4 (neither of these seem critical.
http://www.edonkey2000.com/files/ed2k_linux_gui_0.1alpha.tar.gz
Has a binary of a p2p client for linux.
It's closed-source, and has a number of issues.
In attempts to find workarounds for these, I attempted to strace the process,
and it diddn't quite work.

It only ever traces syscalls made by the process that originated the
clone call, never resultant processes, even with -f set.
Attempring to connect and trace the resultant processes causes strace to
exit immediately, sometimes STOPing the process that was attempted to
be traced.

As all the work is done by the threads, and these seemingly can't be traced,
there is an annoying problem.


  reply	other threads:[~2001-10-12 15:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-12  8:16 Ian Stirling
2001-10-12 15:35 ` Ian Stirling [this message]
2001-11-04 20:45   ` Mike Coleman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200110121535.QAA30537@mauve.demon.co.uk \
    --to=root@mauve.demon.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®