From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20678 invoked by alias); 4 Mar 2006 15:13:50 -0000 Received: (qmail 20665 invoked by uid 22791); 4 Mar 2006 15:13:49 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 04 Mar 2006 15:13:48 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id k24FDeK9030545; Sat, 4 Mar 2006 10:13:40 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k24FDe106224; Sat, 4 Mar 2006 10:13:40 -0500 Received: from [172.16.50.87] (vpn50-87.rdu.redhat.com [172.16.50.87]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k24FDeNG019200; Sat, 4 Mar 2006 10:13:40 -0500 Message-ID: <4409AEA3.2050102@redhat.com> Date: Sat, 04 Mar 2006 15:13:00 -0000 From: William Cohen User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Jia CC: systemtap@sourceware.org Subject: Re: Urgent Help! References: <30c154100603031859h3d02d852q6eeb10494bd4ad7d@mail.gmail.com> In-Reply-To: <30c154100603031859h3d02d852q6eeb10494bd4ad7d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q1/txt/msg00701.txt.bz2 Kevin Jia wrote: > I'm a systemtap beginner, so I need more source code of test and the > manual of systemtap instruction. You can send me some or tell me the > website. Thank you very much! Sorry there isn't a nice document document on the website describing how to build/run tests. There are runtime tests that can be checked out with: cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/systemtap login {enter "anoncvs" as the password} cvs -d :pserver:anoncvs@sources.redhat.com:/cvs/systemtap co tests There are a number of tests in the subdirectories of tests/testsuite. Just do a "find -path "*.stp" and you will see them. The tests are run with "runtest --tool=systemtap" in the tests/testsuite directory. There is a script, tests/tools/stap_testing, that automatically pulls down the current cvs snapshots and build things in your home directory. It expects to have the source code for elfutils-0.119 around in rh-rpm/BUILD. It should give you some insight on how to run and build things. However, you might want to stick to using the already built SystemTap RPMs available for Fedora Core. -Will