Bug 4696 - profile.exp fails with "probe overhead exceeded threshold" error message
Summary: profile.exp fails with "probe overhead exceeded threshold" error message
Status: RESOLVED WORKSFORME
Alias: None
Product: systemtap
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-25 08:50 UTC by Srinivasa DS
Modified: 2008-04-14 12:44 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Srinivasa DS 2007-06-25 08:50:05 UTC
My environment is Systemtap-20070623 snapshot,elfutils-0.125 and kernel-2.6.22-rc5.

When I executed this week tests, I got this error message on execution of
profile.exp. Error message tells that system has spent more than
STP_OVERLOAD_THRESHOLD cycles of time on this probe.
=================================
Running
/home/systemtap/tmp/stap_testing_200706250605/src/testsuite/systemtap.samples/profile.exp
...
ERROR: probe overhead exceeded threshold^M
WARNING: Number of errors: 1, skipped probes: 0^M
FAIL: profile
testcase
/home/systemtap/tmp/stap_testing_200706250605/src/testsuite/systemtap.samples/profile.exp
completed in 15 seconds
===============================

I tried to reexucute the same test individually but problem didn't get
reproduced. Is some race involved with this??
Comment 1 Frank Ch. Eigler 2008-03-18 02:15:56 UTC
I see no dejazilla entries, and recall seeing no recent reports on the mailing
list, of this test failing.  Let's reopen if it reoccurs.
Comment 2 Ankita Garg 2008-04-14 12:44:17 UTC
Systemtap version am using: Systemtap-20070411 (Latest April build)
elfutils-0.131 kernel: 2.6.24.4-rt4. I am seeing the following errors:

ERROR: probe overhead exceeded threshold
WARNING: Number of errors: 1, skipped probes: 10

As a workaround, I am now invoking the script using the following cmdline:

#stap -vvv xyz.stp -D MAXTRYLOCK=1000 -D MAXSKIPPED=40000 -D TRYLOCKDELAY=10000

Note that if TRYOCKDELAY is removed from the cmdline, the stap still throws the
error.