This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Issues with @perf directives in systemtap 3.1 on Ubuntu 16.04LTS
- From: David Smith <dsmith at redhat dot com>
- To: Geoffrey Blake <geoffrey dot w dot blake at gmail dot com>, systemtap at sourceware dot org
- Date: Mon, 23 Jan 2017 09:42:56 -0600
- Subject: Re: Issues with @perf directives in systemtap 3.1 on Ubuntu 16.04LTS
- Authentication-results: sourceware.org; auth=none
- References: <CACiFetSZrtF_++yS0YyYxwDnEsWLHF4WCZdng7zNm+vDiFVqpA@mail.gmail.com>
On 01/23/2017 07:50 AM, Geoffrey Blake wrote:
> 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.
Does the unmodified perf.stp example work on your system? How are you
running your modified example?
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)