public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/15912] New: on rawhide, we're getting perf probe read errors
@ 2013-08-30 15:08 dsmith at redhat dot com
  2013-08-30 15:11 ` [Bug runtime/15912] " dsmith at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dsmith at redhat dot com @ 2013-08-30 15:08 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-01-15 15:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-30 15:08 [Bug runtime/15912] New: on rawhide, we're getting perf probe read errors dsmith at redhat dot com
2013-08-30 15:11 ` [Bug runtime/15912] " dsmith at redhat dot com
2014-01-14 20:44 ` dsmith at redhat dot com
2014-01-15 15:50 ` wcohen at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).