Re: what is the kernel symbol for user space grant access driver
On Fri, Mar 4, 2011 at 11:19 PM, wrote: > I'm not sure if I got your point, but I guess you want to make sure that code > activated by your configuration option is included into the kernel image. > Let me illustrate that by example: PC parallel port. (Device Drivers-> > Parallel Port -> PC-style hardware). This option is associated with > CONFIG_PARPORT_PC configuration option. This option includes the following > source file drivers/parport/parport_pc.c. Looking at this file you will see > that it exports parport_pc_probe_port method. > We can run the following command to see if it was included into the kernel > image: > nm vmlinux | grep parport_pc_unregister_port > and you will get: > 8187b5fe r __kstrtab_parport_pc_unregister_port > 81860080 r __ksymtab_parport_pc_unregister_port > 81283b58 T parport_pc_unregister_port > > when we turn off this option for the command > nm vmlinux | grep parport_pc_unregister_port > is null > See what you mentioned can be done only if one knows the option parport_pc_unregister_port or is aware if where it exists. Just imagine if the person does not knows the file name or variable name then how will he get it. That is what I mentioned.I finally think that I got solution for it. Just go the concerned option and press a question mark over it. It will show you in background the variable associated with it. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: what is the kernel symbol for user space grant access driver
I'm not sure if I got your point, but I guess you want to make sure that code activated by your configuration option is included into the kernel image. Let me illustrate that by example: PC parallel port. (Device Drivers-> Parallel Port -> PC-style hardware). This option is associated with CONFIG_PARPORT_PC configuration option. This option includes the following source file drivers/parport/parport_pc.c. Looking at this file you will see that it exports parport_pc_probe_port method. We can run the following command to see if it was included into the kernel image: nm vmlinux | grep parport_pc_unregister_port and you will get: 8187b5fe r __kstrtab_parport_pc_unregister_port 81860080 r __ksymtab_parport_pc_unregister_port 81283b58 T parport_pc_unregister_port when we turn off this option for the command nm vmlinux | grep parport_pc_unregister_port is null Regards Tomasz Bartczak Mozesz kupic dom juz nawet za 120 tys. zl Sprawdz >> http://linkint.pl/f2937 ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: what is the kernel symbol for user space grant access driver
On Wed, Mar 2, 2011 at 8:35 PM, Daniel Baluta wrote: > Hello, > >> I want to know with respect to an image here >> http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png >> I have already compiled a kernel >> it mentions to enable "user space grant access driver" >> While compiling I did not notice it how can I now verify post compile >> some symbol CONFIG_* >> which can tell me if I included it? >> How can I find out can such a thing be looked some where in .config file? > > Compile the kernel with and without that option enabled > than diff the .configs. > > thanks, > Daniel. > there is an easy way open make menuconfig go to that option and press ? it will tell symbol info -- http://mightydreams.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: what is the kernel symbol for user space grant access driver
Hello, > I want to know with respect to an image here > http://bderzhavets.files.wordpress.com/2010/04/pv-2-6-32-12.png > I have already compiled a kernel > it mentions to enable "user space grant access driver" > While compiling I did not notice it how can I now verify post compile > some symbol CONFIG_* > which can tell me if I included it? > How can I find out can such a thing be looked some where in .config file? Compile the kernel with and without that option enabled than diff the .configs. thanks, Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies