[lkml]   [2005]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectLKM function call on kernel function call?
    Is it possible to code a loadable module having function1(), which
    would be called, everytime a particular function of the kernel is
    called? If not, atleast a way this could be done without re-compiling
    the whole kernel and rebooting the system?


    My LKM:

    init_module() {

    function1() {

    cleanup_module() {

    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.

    Thanks in advance,

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-07-05 10:36    [W:0.018 / U:20.976 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site