linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Frederik Deweerdt <frederik.deweerdt@gmail.com>
To: S <talk2sumit@gmail.com>
Cc: linux-kernel@vger.kernel.org,
	linux prg <linux-c-programming@vger.kernel.org>
Subject: Re: LKM function call on kernel function call?
Date: Tue, 5 Jul 2005 10:38:57 +0200	[thread overview]
Message-ID: <20050705083857.GC19742@gilgamesh.home.res> (raw)
In-Reply-To: <1458d9610507050123124d6cb@mail.gmail.com>

Le 05/07/05 16:23 +0800, S écrivit:
> I want function1() to be called, everytime the function
> ide_do_rw_disk() of ide-disk.c is called. I do not want to re-compile
> the complete kernel to do this.
> 
You're looking for kprobes 
http://www-106.ibm.com/developerworks/library/l-kprobes.html?ca=dgr-lnxw07Kprobe
Regards,
Frederik Deweerdt
-- 
o---------------------------------------------o
| http://open-news.net : l'info alternative   |
| Tech - Sciences - Politique - International |
o---------------------------------------------o
-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2005-07-05  8:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-05  8:23 LKM function call on kernel function call? S
2005-07-05  8:38 ` Arjan van de Ven
2005-07-05  8:38 ` Frederik Deweerdt [this message]
2005-07-14 16:59 ` Daniel Bonekeeper

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=20050705083857.GC19742@gilgamesh.home.res \
    --to=frederik.deweerdt@gmail.com \
    --cc=linux-c-programming@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=talk2sumit@gmail.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;
as well as URLs for NNTP newsgroup(s).