From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23033 invoked by alias); 2 Mar 2012 14:48:50 -0000 Received: (qmail 22966 invoked by uid 22791); 2 Mar 2012 14:48:48 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Mar 2012 14:48:35 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1S3Tmc-0000I2-U2 from wade_farnsworth@mentor.com ; Fri, 02 Mar 2012 06:48:34 -0800 Received: from SVR-ORW-FEM-03.mgc.mentorg.com ([147.34.97.39]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 2 Mar 2012 06:47:57 -0800 Received: from [172.30.13.232] (147.34.91.1) by svr-orw-fem-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server id 14.1.289.1; Fri, 2 Mar 2012 06:48:34 -0800 Message-ID: <4F50DDC1.9000007@mentor.com> Date: Fri, 02 Mar 2012 14:48:00 -0000 From: Wade Farnsworth User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: , Subject: [PATCH v3 2/3] PR12331: Document --sysroot and --sysenv References: <4F0AFEEE.30909@mentor.com> <4F340FD7.9010205@mentor.com> <4F50DD69.1000601@mentor.com> In-Reply-To: <4F50DD69.1000601@mentor.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2012-q1/txt/msg00227.txt.bz2 Update stap.1 and NEWS to document the new options. --- NEWS | 3 +++ stap.1 | 11 +++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/NEWS b/NEWS index 6b52cf9..e5142c8 100644 --- a/NEWS +++ b/NEWS @@ -14,6 +14,9 @@ removed in release 1.9: daddr_to_string() +- Addition of stap --sysroot and --sysenv options to facilitate different + paths and environment variables at run-time. + * What's new in version 1.7, 2012-02-01 - Map inserting and deleting is now significantly faster due to diff --git a/stap.1 b/stap.1 index 731ed21..cc7ebad 100644 --- a/stap.1 +++ b/stap.1 @@ -527,7 +527,18 @@ show abrt output, and ask before continuing download. No timeout will be set. .BI specify a timeout as a positive number to stop the download if it is taking too long. +.RE + +.TP +.BI \-\-sysroot "=DIR" +Specify sysroot directory where target files (executables, libraries, etc.) +are located. +.TP +.BI \-\-sysenv "=VAR=VALUE" +Provide an alternate value for an environment variable where the value on a +remote system differs. Path variables (e.g. PATH, LD_LIBRARY_PATH) are assumed +to be relative to the sysroot. .SH ARGUMENTS -- 1.7.0.4