This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Target variable that was defined by our own kernel module


HI There,

For the following systemtap script, I run into a compiler error:

probe module("mymodule").("foobar"){
     if($myparm)
         dosomething
}

It looks if $myparm is a data structure defined in Linux Kernel,
It would compile and run without problem; but if it is a defined
by my own module, then it gave me a "unresolved symbol error for
$myparm". 

Any suggestions to solve this?

Thanks,
--
John Liang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]