module parameters

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

 






Hi,

  How are module parameters used in modules, i.e if I do an "insmod
my_module.o debug_level=4", then would the variable debug_level be
available to me inside the module ?, can i do this inside the module if
(debug_level>2) printk(); ??
i have to access this debug level with argc, argv etc, or this would be
directly available as the same name ??

thanks
Amit


--
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