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] support conditionally present syscalls


------- Additional Comments From joshua dot i dot stone at intel dot com  2006-06-01 21:31 -------
The same problem exists when trying to track changes between kernel versions. 
We could try to use the preprocessor to check the kernel version to
conditionally define a syscall, or we could mark such syscalls with the
'optional' syntax.

For example, when I run buildok/syscall.stp on i686 RHEL4, I get the following
errors.  The unresolved functions are all absent from this kernel.


semantic error: no match for probe point
while: resolving probe point kernel.function("sys_inotify_add_watch")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_inotify_init")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_inotify_rm_watch")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_ioprio_get")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_ioprio_set")
semantic error: no match for probe point
while: resolving probe point kernel.function("do_sched_setscheduler")
semantic error: no match for probe point
while: resolving probe point kernel.function("do_sched_setscheduler")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_set_zone_reclaim")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_shmat")
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_inotify_add_watch").return
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_inotify_init").return
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_inotify_rm_watch").return
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_ioprio_get").return
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_ioprio_set").return
semantic error: no match for probe point
while: resolving probe point kernel.function("do_sched_setscheduler").return
semantic error: no match for probe point
while: resolving probe point kernel.function("do_sched_setscheduler").return
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_set_zone_reclaim").return
semantic error: no match for probe point
while: resolving probe point kernel.function("sys_shmat").return
Pass 2: analysis failed.  Try again with more '-v' (verbose) options.


-- 


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]