public inbox for frysk-cvs@sourceware.org help / color / mirror / Atom feed
From: swagiaal@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: swagiaal: Renamed ProcRunUtil to ProcFollowUtil. Date: Thu, 20 Mar 2008 20:06:00 -0000 [thread overview] Message-ID: <20080320200630.20429.qmail@sourceware.org> (raw) The branch, master has been updated via 9fc075eb7a30f68abba9de2a201b56a6a3451481 (commit) from f350349ada366e93c8b09c4d0fd9f8e8f88113b5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 9fc075eb7a30f68abba9de2a201b56a6a3451481 Author: Sami Wagiaalla <swagiaal@redhat.com> Date: Thu Mar 20 16:06:04 2008 -0400 swagiaal: Renamed ProcRunUtil to ProcFollowUtil. frysk-core/frysk/bindir/ChangeLog +2008-03-20 Sami Wagiaalla <swagiaal@redhat.com> + + Renamed ProcRunUtil to ProcFollowUtil. + * ferror.java: Updated. + * fstep.java: Updated. + frysk-core/frysk/util/ChangeLog +2008-03-20 Sami Wagiaalla <swagiaal@redhat.com> + + * ProcFollowUtil.java: Renamed ProcRunUtil to ProcFollowUtil + * FCatch.java: Updated. + ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/bindir/ChangeLog | 6 ++++++ frysk-core/frysk/bindir/ferror.java | 8 ++++---- frysk-core/frysk/bindir/fstep.java | 8 ++++---- frysk-core/frysk/util/ChangeLog | 5 +++++ frysk-core/frysk/util/FCatch.java | 6 +++--- .../util/{ProcRunUtil.java => ProcFollowUtil.java} | 6 +++--- 6 files changed, 25 insertions(+), 14 deletions(-) rename frysk-core/frysk/util/{ProcRunUtil.java => ProcFollowUtil.java} (98%) First 500 lines of diff: diff --git a/frysk-core/frysk/bindir/ChangeLog b/frysk-core/frysk/bindir/ChangeLog index e440ad8..6f27c50 100644 --- a/frysk-core/frysk/bindir/ChangeLog +++ b/frysk-core/frysk/bindir/ChangeLog @@ -1,3 +1,9 @@ +2008-03-20 Sami Wagiaalla <swagiaal@redhat.com> + + Renamed ProcRunUtil to ProcFollowUtil. + * ferror.java: Updated. + * fstep.java: Updated. + 2008-03-20 Andrew Cagney <cagney@redhat.com> * TestFtrace.java: Use -follow. diff --git a/frysk-core/frysk/bindir/ferror.java b/frysk-core/frysk/bindir/ferror.java index f79b8c2..9800e7a 100644 --- a/frysk-core/frysk/bindir/ferror.java +++ b/frysk-core/frysk/bindir/ferror.java @@ -45,7 +45,7 @@ import frysk.proc.Action; import frysk.proc.Task; import frysk.proc.TaskObserver; import frysk.proc.TaskObserver.Syscalls; -import frysk.util.ProcRunUtil; +import frysk.util.ProcFollowUtil; import gnu.classpath.tools.getopt.Option; import gnu.classpath.tools.getopt.OptionGroup; import gnu.classpath.tools.getopt.OptionException; @@ -81,13 +81,13 @@ public class ferror { stackPrintOptions.setPrintVirtualFrames(true); stackPrintOptions.setPrintLibrary(true); - ProcRunUtil procRunningUtil = - new ProcRunUtil("ferror", + ProcFollowUtil procRunningUtil = + new ProcFollowUtil("ferror", "ferror -e \"<error string>\" -- <executbale|PID> [ARGS]", args, new TaskObserver[]{ syscallObserver }, options(), - ProcRunUtil.DEFAULT); + ProcFollowUtil.DEFAULT); procRunningUtil.start(); } diff --git a/frysk-core/frysk/bindir/fstep.java b/frysk-core/frysk/bindir/fstep.java index efde87c..87dedf5 100644 --- a/frysk-core/frysk/bindir/fstep.java +++ b/frysk-core/frysk/bindir/fstep.java @@ -55,12 +55,12 @@ import frysk.proc.Proc; import frysk.proc.Task; import frysk.proc.TaskObserver; import frysk.util.CommandlineParser; -import frysk.util.ProcRunUtil; +import frysk.util.ProcFollowUtil; import gnu.classpath.tools.getopt.Option; import gnu.classpath.tools.getopt.OptionGroup; import gnu.classpath.tools.getopt.OptionException; -public class fstep implements ProcRunUtil.NewTaskObserver, +public class fstep implements ProcFollowUtil.NewTaskObserver, TaskObserver.Code, TaskObserver.Instruction, TaskObserver.Terminated @@ -155,10 +155,10 @@ public class fstep implements ProcRunUtil.NewTaskObserver, final fstep step = new fstep(); - ProcRunUtil procRunUtil = new ProcRunUtil("fstep", + ProcFollowUtil procRunUtil = new ProcFollowUtil("fstep", "fstep <PID|EXEC> [OPTIONS]", args, step, options(), - ProcRunUtil.DEFAULT); + ProcFollowUtil.DEFAULT); procRunUtil.start(); } diff --git a/frysk-core/frysk/util/ChangeLog b/frysk-core/frysk/util/ChangeLog index 53bc634..b013423 100644 --- a/frysk-core/frysk/util/ChangeLog +++ b/frysk-core/frysk/util/ChangeLog @@ -1,3 +1,8 @@ +2008-03-20 Sami Wagiaalla <swagiaal@redhat.com> + + * ProcFollowUtil.java: Renamed ProcRunUtil to ProcFollowUtil + * FCatch.java: Updated. + 2008-03-20 Andrew Cagney <cagney@redhat.com> * ProcRunUtil.java: Use ProcTasksObserver and ProcTasksAction. diff --git a/frysk-core/frysk/util/FCatch.java b/frysk-core/frysk/util/FCatch.java index 77fab71..a5acafb 100644 --- a/frysk-core/frysk/util/FCatch.java +++ b/frysk-core/frysk/util/FCatch.java @@ -138,11 +138,11 @@ public class FCatch { public void run(String[] args) { CatchObserver catchObserver = new CatchObserver(); - ProcRunUtil procRunUtil - = new ProcRunUtil("fcatch", + ProcFollowUtil procRunUtil + = new ProcFollowUtil("fcatch", "Usage: fcatch [OPTIONS] -- PATH ARGS || fcatch [OPTIONS] PID", args, new TaskObserver[] { catchObserver}, - options(), ProcRunUtil.DEFAULT); + options(), ProcFollowUtil.DEFAULT); procRunUtil.start(); } } diff --git a/frysk-core/frysk/util/ProcRunUtil.java b/frysk-core/frysk/util/ProcFollowUtil.java similarity index 98% rename from frysk-core/frysk/util/ProcRunUtil.java rename to frysk-core/frysk/util/ProcFollowUtil.java index 3e8b90a..f2888df 100644 --- a/frysk-core/frysk/util/ProcRunUtil.java +++ b/frysk-core/frysk/util/ProcFollowUtil.java @@ -66,7 +66,7 @@ import gnu.classpath.tools.getopt.OptionGroup; * * Utilities must define a event.ProcEvent to execute. */ -public class ProcRunUtil { +public class ProcFollowUtil { private final HashSet knownTasks = new HashSet(); @@ -89,7 +89,7 @@ public class ProcRunUtil { public static final RunningUtilOptions DEFAULT = new RunningUtilOptions(); - public ProcRunUtil(String utilName, String usage, String[] args, + public ProcFollowUtil(String utilName, String usage, String[] args, NewTaskObserver newTaskObserver, OptionGroup[] customOptions, RunningUtilOptions options) { @@ -98,7 +98,7 @@ public class ProcRunUtil { this.newTaskObserver = newTaskObserver; } - public ProcRunUtil(String utilName, String usage, String[] args, + public ProcFollowUtil(String utilName, String usage, String[] args, TaskObserver[] observers, OptionGroup[] customOptions, RunningUtilOptions options) { this.options = options; hooks/post-receive -- frysk system monitor/debugger
reply other threads:[~2008-03-20 20:06 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20080320200630.20429.qmail@sourceware.org \ --to=swagiaal@sourceware.org \ --cc=frysk-cvs@sourceware.org \ --cc=frysk@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).