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]

Re: Building error due to kernel module header


On 08/20/2010 10:07 PM, David Smith wrote:
On 08/18/2010 10:31 PM, Wenji Huang wrote:
Hi,

In 2.6.36-rc1, there is change about module parameter macro.

param: use ops in struct kernel_param, rather than get and set fns directly

author    Rusty Russell<rusty@rustcorp.com.au>
     Thu, 12 Aug 2010 05:04:12 +0000 (23:04 -0600)
committer    Rusty Russell<rusty@rustcorp.com.au>


This will result in compilation error for stap script. Like,


stap -k systemtap.base/x86_gs.stp
/tmp/stap8qGrSI/stap_19141.c:1192: error: ‘param_ops_int64_t’ undeclared
here (not in a function)
make[1]: *** [/tmp/stap8qGrSI/stap_19141.o] Error 1
make: *** [_module_/tmp/stap8qGrSI] Error 2
Pass 4: compilation failed.  Try again with another '--vp 0001' option.

Wenji,


Could you file a bug on this?  If possible, please include the commit id
of the kernel change you think caused this.

Thanks.


param: use ops in struct kernel_param, rather than get and set fns directly author Rusty Russell <rusty@rustcorp.com.au> Thu, 12 Aug 2010 05:04:12 +0000 (23:04 -0600) committer Rusty Russell <rusty@rustcorp.com.au> Wed, 11 Aug 2010 13:34:13 +0000 (22:34 +0930) commit 9bbb9e5a33109b2832e2e63dcc7a132924ab374b

Regards,
Wenji


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