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]

[Bug tapsets/11457] New: unresolved *mib_filter_key functions


There are three filter functions that are expected to be provided by the user:
  linuxmib_filter_key(sk,op)
  ipmib_filter_key(skb,op,SourceIsLocal)
  tcpmib_filter_key(sk,op)


$ ./run-stap -L '**?' >/dev/null
semantic error: unresolved arity-2 function: identifier 'linuxmib_filter_key' at
/home/jistone/systemtap/build/../tapset/linuxmib.stp:33:8
        source: 	key = linuxmib_filter_key(sk,op);
                	      ^
semantic error: unresolved arity-3 function: identifier 'ipmib_filter_key' at
/home/jistone/systemtap/build/../tapset/ipmib.stp:326:8
        source: 	key = ipmib_filter_key(skb,op,SourceIsLocal);
                	      ^
...


We should at least provide *some* default implementations, even if users will
usually want to customize them.  This could be done the same way
__indent_timestamp() is provided in indent-default.stp.


(I would eventually like "stap -L '**?'" to be a regular test...)

-- 
           Summary: unresolved *mib_filter_key functions
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jistone at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=11457

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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