This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: func_time_stap.stp (Was: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-81-gb7edd33)
- From: William Cohen <wcohen at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: systemtap at sourceware dot org
- Date: Fri, 12 Aug 2011 09:24:37 -0400
- Subject: Re: func_time_stap.stp (Was: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.6-81-gb7edd33)
- References: <20110810163659.10370.qmail@sourceware.org> <20110812080218.GA6228@hermans.wildebeest.org>
On 08/12/2011 04:02 AM, Mark Wielaard wrote:
> Hi Will,
>
> On Wed, Aug 10, 2011 at 04:36:59PM -0000, wcohen@sourceware.org wrote:
>> commit b7edd3387dc69932174e8bb65b08f94a9045ae50
>> Author: William Cohen <wcohen@redhat.com>
>> Date: Wed Aug 10 11:43:02 2011 -0400
>>
>> Add the nfsd_unlink example to the index.
>
> This also added the following entry to the index:
>
> +func_time_stats.stp - Function time statistics
> +keywords: function wall-clock time
> +
> + The func_time_stats.stp script tracks the wall clock time for each
> + invocation of a function probe listed as the first command line
> + argument. When the script exits it prints out the minimum, average,
> + and maximum times in microseconds. It also prints out a count of
> + times that the function was called.
>
> Which sounds interesting, but doesn't seem to actually exist.
> Did you forget to commit it, or isn't it ready yet?
>
> Thanks,
>
> Mark
Hi Mark,
Thanks for pointing that out. I had it in my local tree and "perl ./examples-index-gen.pl" pulled it in. I fixed things up and checked it in for real. I hope that someone finds it useful.
-Will