public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Vamsi Krishna S ." <vamsi@in.ibm.com>
To: Rusty Lynch <rusty@linux.co.intel.com>
Cc: linux-kernel@vger.kernel.org, richard <richardj_moore@uk.ibm.com>
Subject: Re: Multiple kprobes per address
Date: Tue, 12 Nov 2002 14:03:08 +0530	[thread overview]
Message-ID: <20021112140308.A1055@in.ibm.com> (raw)
In-Reply-To: <002e01c289b1$2c83b140$77d40a0a@amr.corp.intel.com>; from rusty@linux.co.intel.com on Mon, Nov 11, 2002 at 10:35:56AM -0800

On Mon, Nov 11, 2002 at 10:35:56AM -0800, Rusty Lynch wrote:
> I was really only concerned with multiple consumers of kprobes.  So if
> I were to create some tool that used kpobes to hook into the kernel, and
> someone else were to create another tool that solved a different problem
> but also used kprobes then the two tools wouldn't play nice with each other.

There will be a problem when both the tools (built on top of kprobes) try
to place probes at the same address: only the first probe actually succeds,
the second one gets -EEXIST from register_kprobe.

This could be made to work, but at the moment, it seems unnecessary 
complication to me. Lets reconsider it when it really becomes a problem.

Thanks,
Vamsi. 
-- 
Vamsi Krishna S.
Linux Technology Center,
IBM Software Lab, Bangalore.
Ph: +91 80 5044959
Internet: vamsi@in.ibm.com

      reply	other threads:[~2002-11-12  8:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-08 21:00 Multiple kprobes per address Rusty Lynch
2002-11-11  8:05 ` Vamsi Krishna S .
2002-11-11 18:35   ` Rusty Lynch
2002-11-12  8:33     ` Vamsi Krishna S . [this message]

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=20021112140308.A1055@in.ibm.com \
    --to=vamsi@in.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richardj_moore@uk.ibm.com \
    --cc=rusty@linux.co.intel.com \
    /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