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/2295] New: support conditionally present syscalls


Some syscalls (e.g., nfsservctl) are defined fully only if a certain kconfig
setting is on (in this case, CONFIG_NFSD).  For configurations without that,
only a weak symbol definition is included in the kernel, which
elfutils/systemtap fails to deem suitable.

We should handle this case better.  This could involve adding CONFIG_FOO
conditionals to the script preprocessor (and then adding those conditions to
syscalls*.stp), or letting the weak symbols resolve specially somehow (point to
some dummy address?  or the general "syscall not implemented" function?).

Talk amongst yourselves.

-- 
           Summary: support conditionally present syscalls
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

------- 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]