From eda8b449152cf0f864d2cd250fb2b7a2945bc996 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 30 Mar 2010 12:50:55 -0400 Subject: testsuite: convert pfiles.stp to $PATH-based stap invocation form --- testsuite/systemtap.examples/process/pfiles.stp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'testsuite/systemtap.examples/process') diff --git a/testsuite/systemtap.examples/process/pfiles.stp b/testsuite/systemtap.examples/process/pfiles.stp index 3b968625..e7a16732 100755 --- a/testsuite/systemtap.examples/process/pfiles.stp +++ b/testsuite/systemtap.examples/process/pfiles.stp @@ -1,4 +1,6 @@ -#! /usr/bin/stap -g +#! /bin/sh + +exec stap -g - ${1+"$@"} << 'END' # pfiles # Copyright (C) 2007-2010 Red Hat, Inc., Eugene Teo # @@ -607,3 +609,7 @@ probe begin { exit() } + + +END + -- cgit