Jan. 11, 2011
6:13 a.m.
On Mon, Jan 10, 2011 at 10:02 PM, Hanumant Singh <hanumant07@gmail.com> wrote:
Hi I am trying to write a simple module that sort of emulates the ps command. I am trying to get the comm string for the task, using get_task_comm, but the make command keeps telling me that the symbol get_task_comm is not defined. I have included linux/sched.h. This is the header file, which I believe has the prototype definition for the function. Am I missing something?
You can only use those symbols in your module which have been explicitly exported using EXPORT_SYMBOL() -- Thanks - Manish ================================== [$\*.^ -- I miss being one of them ==================================