This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Tracing through init transitions
- From: Jim Keniston <jkenisto at linux dot vnet dot ibm dot com>
- To: "Alan D. Brunelle" <alan dot brunelle at hp dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Fri, 30 Apr 2010 13:18:19 -0700
- Subject: Re: Tracing through init transitions
- References: <4BDB332D.3090302@hp.com>
On Fri, 2010-04-30 at 15:44 -0400, Alan D. Brunelle wrote:
> I'm trying to trace the opening of files under /proc & /sys during the
> transition from single-user to run level 3, but either the tracing
> doesn't start or gets killed. I've tried various means of trying to
> daemonize the systemtap run (including starting this via an rc script
> utilizing the "daemon" function, and trying the -F option), but nothing
> I've tried seems to work.
>
> Any suggestions?
>
> Thanks (please CC me as I'm no longer on the systemtap mailing list),
> Alan
> PS. I've attached the script, although I doubt there's anything
> particular in there that would make a difference...
> plain text document attachment (opens.stp)
> #! /usr/bin env stap
"bin env" should be "bin/env", right?
>
> global opens[4000]
Jim