[Bug runtime/19625] New: extern @perf() counter reading support to kernel space

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Feb 12 20:14:00 GMT 2016


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

            Bug ID: 19625
           Summary: extern @perf() counter reading support to kernel space
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

It appears as though the upstream kernel is growing out its capabilities to
read configured performance counter values from within kernel space.  (Search
via "bpf_perf_event_read".)  This should let systemtap measure perfctr usage
between perhaps arbitrary pairs of events.

See also http://article.gmane.org/gmane.linux.kernel.perf.user/2577 for an
ebpf/perf/llvm C program that should become expressible in a dozen lines of
stap script.

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


More information about the Systemtap mailing list