This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/2295] support conditionally present syscalls
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 1 Jun 2006 21:31:18 -0000
- Subject: [Bug tapsets/2295] support conditionally present syscalls
- References: <20060207234350.2295.fche@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.