Comment 18 for bug 1545330

Revision history for this message
In , Marcelo (marcelo-redhat-bugs) wrote :

Oops. Then it depends on kernel version. I'm running a custom one, 4.2.0-rc8+, and the one in comment #0 reproduces it in here (greped for brevity):

[root@localhost ~]# stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' 2>&1 | grep error
include/linux/spinlock_types.h:55:14: error: ‘__ARCH_SPIN_LOCK_UNLOCKED’ undeclared here (not in a function)
Pass 4: compilation failed. [man error::pass4]
[root@localhost ~]# uname -r
4.2.0-rc8+
[root@localhost ~]# cat /etc/fedora-release
Fedora release 21 (Twenty One)
[root@localhost ~]# rpm -q systemtap
systemtap-2.8-1.fc21.x86_64

I also cannot reproduce it with 4.1.6-100.fc21.x86_64.
Now checking, the fix seems to be compatible with both, just yeah not strictly needed for f21.. I hope it's okay to include it anyway.