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]

[Bug translator/16914] probe syscall.* fails with compilation error


https://sourceware.org/bugzilla/show_bug.cgi?id=16914

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from David Smith <dsmith at redhat dot com> ---
OK, I"ve got the systemtap problems fixed in commit 293523b. However, that
kernel doesn't have kprobes:

====
# stap -vp4 -e 'probe syscall.open { printf("hi\n") }'
Pass 1: parsed user script and 104 library script(s) using
149268virt/29880res/2940shr/27308data kb, in 380usr/10sys/399real ms.
Pass 2: analyzed script: 2 probe(s), 1 function(s), 40 embed(s), 0 global(s)
using 180248virt/61760res/3812shr/58288data kb, in 1440usr/160sys/1600real ms.
Pass 3: translated to C into
"/tmp/stapewvvDK/stap_62dcdbc1e584020a6a19f7cc43b29fdc_24567_src.c" using
180248virt/62096res/4148shr/58288data kb, in 20usr/110sys/136real ms.
/tmp/stapewvvDK/stap_62dcdbc1e584020a6a19f7cc43b29fdc_24567_src.c:1567:2:
error: #error "Need CONFIG_KPROBES!"
 #error "Need CONFIG_KPROBES!"
  ^
make[1]: ***
[/tmp/stapewvvDK/stap_62dcdbc1e584020a6a19f7cc43b29fdc_24567_src.o] Error 1
make: *** [_module_/tmp/stapewvvDK] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_62dcdbc1e584020a6a19f7cc43b29fdc_24567.ko" in
9880usr/1290sys/12392real ms.
Pass 4: compilation failed.  [man error::pass4]
====

-- 
You are receiving this mail because:
You are the assignee for the bug.


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