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: module("*") wildcard expansion problem


On Monday, July 31, 2006 7:44 AM, David Smith wrote:
> On Sun, 2006-07-30 at 20:25 -0700, Mike Mason wrote:
>> I noticed that the following line in the current.stp test:
>> 
>> module("*").function("*interrupt*")
>> 
>> expands to every function in modules and the kernel with "interrupt"
>> in its name. I assume it should only expand to functions in modules,
>> correct? 
> 
> That certainly doesn't look correct to me.  Please file a bugzilla on
> this problem and I'll look into it.

I believe the current parser treats the kernel as a module named
"kernel".  That is, kernel.function(...) is equivalent to
module("kernel").function(...).

I'm not saying that's the way it should be, just that this is the
current behavior...

Josh


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