[Bug translator/16166] New: stap -vvv causes SIGSEGV when using @perf operator
jlebon at redhat dot com
sourceware-bugzilla@sourceware.org
Wed Nov 13 17:36:00 GMT 2013
https://sourceware.org/bugzilla/show_bug.cgi?id=16166
Bug ID: 16166
Summary: stap -vvv causes SIGSEGV when using @perf operator
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
Assignee: systemtap at sourceware dot org
Reporter: jlebon at redhat dot com
First compile towers.c:
gcc -g testsuite/systemtap.base/towers.c -o testsuite/systemtap.base/towers.x
Then run the following:
stap -vvv -e '
global x
probe
perf.hw.cpu_cycles.process("testsuite/systemtap.base/towers.x").counter("a") {}
probe process("testsuite/systemtap.base/towers.x").function("main")
{
# wrong type
x = "b" . @perf("a")
}
'
And you get (skipping to the bottom of the output):
Eliding side-effect-free empty block operator '{' at
/home/yyz/jlebon/codebase/systemtap/install/share/systemtap/tapset/linux/perf.stp:11:60
Eliding side-effect-free empty block operator '{' at <input>:4:84
Eliding side-effect-free empty block operator '{' at
/home/yyz/jlebon/codebase/systemtap/install/share/systemtap/tapset/linux/perf.stp:11:60
Eliding side-effect-free singleton block identifier 'perf' at <input>:4:7
Eliding side-effect-free empty block Segmentation fault (core dumped)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Systemtap
mailing list