From: Mark Wielaard Date: Thu, 22 Apr 2010 13:07:49 +0000 (+0200) Subject: Skip stapio tracing in pr10854.stp. X-Git-Tag: release-1.3~419 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=1aa71d93e247f68ef9222b01f386e1d21dd23b81;p=systemtap.git Skip stapio tracing in pr10854.stp. As pointed out by dsmith and jistone in PR11525, this cleans up the test. * testsuite/systemtap.base/pr10854.stp: Use pid() == stp_pid()) next to skip tracing our own helper process. --- diff --git a/testsuite/systemtap.base/pr10854.stp b/testsuite/systemtap.base/pr10854.stp index 55f027f27..2bc0100c6 100644 --- a/testsuite/systemtap.base/pr10854.stp +++ b/testsuite/systemtap.base/pr10854.stp @@ -7,11 +7,12 @@ function trace(entry_p) { global trace probe kernel.function(@1).call { - if (execname() == "staprun") next # skip our own helper process + if (pid() == stp_pid()) next # skip our own helper process trace[tid()] = 1 trace(1) } probe kernel.function(@1).return { + if (pid() == stp_pid()) next # skip our own helper process trace(-1) delete trace[tid()] }