This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]