is query_modules supported for 2.6.X ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all,

i would like to use 'query_module' with the QM_SYMBOLS flag in an
application. from the man page on query_module, i get the following
information :

<quote>
SYNOPSIS
       #include <linux/module.h>

       int query_module(const char *name, int which,
       void *buf, size_t bufsize, size_t *ret);

DESCRIPTION
       query_module requests information related to loadable modules from  the
       kernel.   The  precise nature of the information and its format depends
       on the which sub function.  Some functions require name to name a  cur-
       rently  loaded module, some allow name to be NULL indicating the kernel
       proper.
</quote>

but i dont find the function prototype in linux/query_module.h ! is it
deprecated ? can /proc/kallsyms be used instead for the same
functionality ?

can you please let me know ?

thank you
kind regards
anupam

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux