[lkml]   [2003]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRE: Kernel module version support.
Hi Rusty
Thanks for your rapid responding.

And as you are the maintainer of kernel module support, I would like to know
you think about export some APIs for geting a specified module structure's
Just like:
struct module *get_module(const char *name)
struct module *mod;
mod = find_module(name);
return mod;

This function will be useful when we use Kprobes to place probes into a
kernel module.
We could get the base address of the module's .text section througn this
module structure's
pointer, hence we could place the kernel probe on any instruction we wanted.

Thanks a lot.

Your Sincerely,
Stanley Wang

SW Engineer, Intel Corporation.
Intel China Software Lab.
Tel: 021-52574545 ext. 1171
iNet: 8-752-1171

Opinions expressed are those of the author and do not represent Intel
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-03-22 13:32    [W:0.049 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site