This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Issues with @perf directives in systemtap 3.1 on Ubuntu 16.04LTS
- From: Geoffrey Blake <geoffrey dot w dot blake at gmail dot com>
- To: systemtap at sourceware dot org
- Date: Mon, 23 Jan 2017 07:50:33 -0600
- Subject: Issues with @perf directives in systemtap 3.1 on Ubuntu 16.04LTS
- Authentication-results: sourceware.org; auth=none
Hi all,
I have been trying to make use of the perf.stp example modified for my
own program I am trying to profile. I set the perf.hw probes to be
system wide by not supplying a process, but when my other probes
trigger and I read the counters with the @perf() directive, the number
returned for the counters is always the same junk number (it varies
between runs, but never changes during a run).
I am not sure what could be going on. I have tried the systemtap
package that ships with Ubuntu 16.04LTS and compiled from the tip of
the git repository. Both versions have the same failure. Any help
would be appreciated on how to debug this further.
Thanks,
Geoff Blake