This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/15912] New: on rawhide, we're getting perf probe read errors
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 30 Aug 2013 15:08:26 +0000
- Subject: [Bug runtime/15912] New: on rawhide, we're getting perf probe read errors
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=15912
Bug ID: 15912
Summary: on rawhide, we're getting perf probe read errors
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
Assignee: systemtap at sourceware dot org
Reporter: dsmith at redhat dot com
On rawhide (3.11.0-0.rc6.git4.1.fc21.x86_64), although the perf.exp testcase
passes, the log file shows several errors, like 'ERROR: _stp_perf_read':
====
spawn /usr/local/bin/stap -c towers.x -e
global towers
global main
probe perf.hw.instructions.process("towers.x").counter("a")
{
counter_a += 1
}
probe perf.hw.instructions.process("towers.x").counter("b")
{
counter_b += 1
}
probe process("towers.x").statement("towers@towers.c")
{
towers <<< @perf("a")
}
probe process("towers.x").statement("main@towers.c")
{
main <<< @perf("b")
}
probe end
{
printf("count main=%d\ncount towers=%d\ncounter %d/%d\n",
@count(main), @count(towers), counter_a, counter_b)
printf("min main=%d\nmin towers=%d\n", @min(main),
@min(towers))
printf("max main=%d\nmax towers=%d\n", @max(main),
@max(towers))
}
WARNING: Statements in perf counter probe will never be reached.: operator '{'
at /usr/local/share/systemtap/tapset/linux/perf.stp:12:60^M
source: probe perf.hw.instructions = perf.type(0).config(1) { }
^
WARNING: never-assigned local variable 'counter_a' (alternatives: counter_b
towers main): identifier 'counter_a' at <input>:28:36
source: @count(main), @count(towers), counter_a, counter_b)
^
WARNING: never-assigned local variable 'counter_b' (alternatives: counter_a
towers main): identifier 'counter_b' at :28:47
source: @count(main), @count(towers), counter_a, counter_b)
^
WARNING: perf probe
'perf.type(0).config(1).sample(0).process("towers.x").counter("b")' is not
supported by this kernel (-2).
WARNING: perf probe
'perf.type(0).config(1).sample(0).process("towers.x").counter("a")' is not
supported by this kernel (-2).
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
count main=1
count towers=19
counter 0/0
min main=0
min towers=0
max main=0
max towers=0
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
ERROR: _stp_perf_read
WARNING: /usr/local/bin/staprun exited with status: 1
Pass 5: run failed. [man error::pass5]
====
--
You are receiving this mail because:
You are the assignee for the bug.