public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard J Moore <rasman@uk.ibm.com>
To: sysware@portoweb.com.br, linux-kernel@vger.kernel.org
Subject: Re: syscall hook
Date: Wed, 24 Sep 2003 01:01:27 +0000	[thread overview]
Message-ID: <200309240101.27794.rasman@uk.ibm.com> (raw)
In-Reply-To: <3f70d6f9.cec.16345@portoweb.com.br>

You can use kprobes to do it. Chech out the dprobes project website: 
http://www-124.ibm.com/linux/projects/dprobes/

Be sure to look at the kprobes patch.


On Tue 23 September 2003 11:27 pm, Bruno Castro da Silva wrote:
> Hi all,
>
> I need to put a hook on a syscall so I can monitor the usage
> of sockets. I'm trying to do so without having to recompile
> the kernel (eg by using modules). Can anyone give me a hint
> on how to achieve this?
>
> (Please, replies to my email to, not only to the list. I
> haven't subscribed to the list because I can't afford to
> receive 300+ emails a day)
>
>
> Thanks in advance,
>
> Bruno
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Richard J Moore
IBM Linux Technology Centre

  parent reply	other threads:[~2003-09-24  0:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-23 23:27 syscall hook Bruno Castro da Silva
2003-09-23 23:24 ` Chris Wright
2003-09-24  1:01 ` Richard J Moore [this message]
2003-09-24  7:11 ` Muli Ben-Yehuda
  -- strict thread matches above, loose matches on Subject: below --
2003-09-23 23:26 Bruno Castro da Silva

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=200309240101.27794.rasman@uk.ibm.com \
    --to=rasman@uk.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sysware@portoweb.com.br \
    /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