This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/16166] New: stap -vvv causes SIGSEGV when using @perf operator
- From: "jlebon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 13 Nov 2013 17:36:51 +0000
- Subject: [Bug translator/16166] New: stap -vvv causes SIGSEGV when using @perf operator
- Auto-submitted: auto-generated
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.