This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[BUG] syscall.unlink no longer works after upgrading kernel to 3.7.3
- From: agentzh <agentzh at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Mon, 4 Feb 2013 22:34:53 -0800
- Subject: [BUG] syscall.unlink no longer works after upgrading kernel to 3.7.3
Hello, folks!
I've been running a systemtap script like this in my test suite:
probe syscall.unlink {
if (pid() == target()) {
println(name, "(", argstr, ")")
}
}
The script used to work perfectly fine for many months (with kernel
3.5.x and 3.6.x), but after I upgraded my Linux kernel from 3.6.x to
3.7.3-101 via the Fedora official updates, I started getting this
error:
semantic error: not accessible at this address [man error::dwarf]
(0xffffffff811a4260, dieoffset: 0x1584359): identifier '$pathname' at
/opt/systemtap/share/systemtap/tapset/linux/syscalls2.stp:3233:30
source: argstr = user_string_quoted($pathname)
^
Upgrading systemtap to git master HEAD does not solve the issue:
$ /opt/systemtap/bin/stap --version
Systemtap translator/driver (version 2.1/0.154, commit
release-2.0-355-gee68587)
Copyright (C) 2005-2013 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
enabled features: AVAHI LIBRPM LIBSQLITE3 NSS BOOST_SHARED_PTR
TR1_UNORDERED_MAP NLS
Any help to solve this issue will be highly appreciated!
Thanks in advance!
Best regards,
-agentzh