[Bug 1671133] [NEW] systemtap 3.0 doesn't work with 4.10 kernel
Ali
ali.saidi at arm.com
Wed Mar 8 14:52:23 UTC 2017
Public bug reported:
Installing systemtap on zesty results in a non-functional system tap:
$ stap -v -e 'probe oneshot { println("hello world") }'
Pass 1: parsed user script and 111 library scripts using 49620virt/38420res/5752shr/33072data kb, in 230usr/10sys/238real ms.
Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 50280virt/39452res/6008shr/33732data kb, in 0usr/0sys/7real ms.
Pass 3: translated to C into "/tmp/stap33SHdB/stap_b857718a445c9d5eb902617b6fc310fb_989_src.c" using 50416virt/40220res/6548shr/33868data kb, in 0usr/0sys/0real ms.
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:24,
from /tmp/stap33SHdB/stap_b857718a445c9d5eb902617b6fc310fb_989_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/access_process_vm.h:36:61: error: passing argument 6 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Werror=int-conversion]
ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma);
...
Looking at the changelog for systemtap there are fixes in v3.1 for a 4.10 kernel. Compiling the upstream system tap results is functional:
$ ./stap -e 'probe oneshot { println("hello world") }'
hello world
** Affects: systemtap (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemtap in Ubuntu.
https://bugs.launchpad.net/bugs/1671133
Title:
systemtap 3.0 doesn't work with 4.10 kernel
Status in systemtap package in Ubuntu:
New
Bug description:
Installing systemtap on zesty results in a non-functional system tap:
$ stap -v -e 'probe oneshot { println("hello world") }'
Pass 1: parsed user script and 111 library scripts using 49620virt/38420res/5752shr/33072data kb, in 230usr/10sys/238real ms.
Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 50280virt/39452res/6008shr/33732data kb, in 0usr/0sys/7real ms.
Pass 3: translated to C into "/tmp/stap33SHdB/stap_b857718a445c9d5eb902617b6fc310fb_989_src.c" using 50416virt/40220res/6548shr/33868data kb, in 0usr/0sys/0real ms.
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:24,
from /tmp/stap33SHdB/stap_b857718a445c9d5eb902617b6fc310fb_989_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/access_process_vm.h:36:61: error: passing argument 6 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Werror=int-conversion]
ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma);
...
Looking at the changelog for systemtap there are fixes in v3.1 for a 4.10 kernel. Compiling the upstream system tap results is functional:
$ ./stap -e 'probe oneshot { println("hello world") }'
hello world
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1671133/+subscriptions
More information about the foundations-bugs
mailing list