[PATCH] fix aggregate stats in mutex-contention example
David Smith
dsmith@redhat.com
Mon Jun 24 18:16:00 GMT 2013
On 05/22/2013 03:04 PM, Peter Feiner wrote:
> Stats that were supposed to be collected per FUTEX_WAIT call site were being
> collected per mutex init stack. So, in the "aggregate stats" section of the
> report, you'd see a bunch of stacks with pthread_mutex_init at the top ... which
> was very confusing because a futex isn't contended when it's created :-)
I've checked your change in with the following commit.
====
commit 8f923ff46ae2f91ccea95737fca3524c861a553c
Author: Peter Feiner <peter@gridcentric.ca>
Date: Mon Jun 24 13:11:42 2013 -0500
Updated testsuite/systemtap.examples/process/mutex_contention.stp
example.
Stats that were supposed to be collected per FUTEX_WAIT call site were
being collected per mutex init stack. So, in the "aggregate stats"
section
of the report, you'd see a bunch of stacks with pthread_mutex_init
at the
top, which was very confusing because a futex isn't contended when it's
created.
====
Thanks for the update - sorry this response took so long.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)
More information about the Systemtap
mailing list