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]

Re: SystemTap 3.0 doesn't work on Ubuntu 14.04.4 LTS


On 03/29/2016 04:02 PM, Frank Ch. Eigler wrote:
> 
> Aleksander Alekseev wrote:
> 
>> [...]
>> ubuntu-14.04.4-server-amd64.iso
>> This distribution uses Linux kernel 4.2.0.
>> [...]
>> linux-image-4.2.0-27-generic-dbgsym_4.2.0-27.32_amd64.ddeb
>> Unfortunately SystemTap didn't work:
>> http://pastebin.com/raw/GDry4JWJ
> 
> Strange.  I have what seems like an identical ubuntu VM ...:
> 
> % dpkg -l | egrep '(systemtap.*2.3)|(linux.*4.2)'
> ii  linux-headers-4.2.0-27               4.2.0-27.32~14.04.1                     all          Header files related to Linux kernel version 4.2.0
> ii  linux-headers-4.2.0-27-generic       4.2.0-27.32~14.04.1                     amd64        Linux kernel headers for version 4.2.0 on 64 bit x86 SMP
> ii  linux-image-4.2.0-27-generic         4.2.0-27.32~14.04.1                     amd64        Linux kernel image for version 4.2.0 on 64 bit x86 SMP
> ii  linux-image-4.2.0-27-generic-dbgsym  4.2.0-27.32~14.04.1                     amd64        Linux kernel debug image for version 4.2.0 on 64 bit x86 SMP

Huh, the file on ddebs.ubuntu.com doesn't have "~14.04.1".  I wonder
where yours can be downloaded?

> ii  systemtap                            2.3-1ubuntu1.4                          amd64        instrumentation system for Linux
> ii  systemtap-common                     2.3-1ubuntu1.4                          all          instrumentation system for Linux (common component)
> ii  systemtap-runtime                    2.3-1ubuntu1.4                          amd64        instrumentation system for Linux (runtime component)
> 
> and stap things just work (tm):
> % sudo stap exec.stp
> systemd-udevd(3480) exit (0)
> ^Cstapio(3479) exit (0)
> 
> % stap -p2 exec.stp | grep kernel.function
> 
> kernel.function("SyS_execve@/build/linux-lts-wily-Vv6Eyd/linux-lts-wily-4.2.0/fs/exec.c:1708").call /* pc=_stext+0x1f2cd8 */ /* <- syscall.execve = kernel.function("sys_execve").call <- syscall.execve */
> kernel.function("do_exit@/build/linux-lts-wily-Vv6Eyd/linux-lts-wily-4.2.0/kernel/exit.c:653").call /* pc=_stext+0x79818 */ /* <- syscall.exit = kernel.function("do_exit").call <- syscall.exit */
> 
> 
> - FChE
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]