From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7275 invoked by alias); 8 Jan 2014 21:25:02 -0000 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 Received: (qmail 6861 invoked by uid 48); 8 Jan 2014 21:24:57 -0000 From: "jlebon at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/2035] investigate boot-time probing Date: Wed, 08 Jan 2014 21:25:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jlebon at redhat dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00009.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=2035 --- Comment #8 from Jonathan Lebon --- I've just created a branch (jlebon/boot-time) containing the work so far. The easiest way to test it is to 'make rpm' and install the rpms. However if you'd like to do it manually, you will need to make and - Copy initscript/99stap/{module-setup.sh,start-staprun.sh} into /lib/dracut/modules.d/99stap (remove {prefix}) - Copy initscript/systemtap to /etc/init.d/ (also remove {prefix}) Once installed, you can test it by doing the following (also see section 5.9 of initscript/README.systemtap): # cat > /etc/systemtap/script.d/hello.stp probe begin { println("Hello World!") } # service systemtap onboot hello # reboot --- # staprun -A hello -- You are receiving this mail because: You are the assignee for the bug.