This is the mail archive of the
frysk-cvs@sources.redhat.com
mailing list for the frysk project.
frysk-gui/frysk sys/proc/cni/Stat.cxx sys/proc ...
- From: mcvet at sourceware dot org
- To: frysk-cvs at sourceware dot org
- Date: 6 Sep 2006 21:55:09 -0000
- Subject: frysk-gui/frysk sys/proc/cni/Stat.cxx sys/proc ...
- Reply-to: frysk at sourceware dot org
CVSROOT: /cvs/frysk
Module name: frysk-gui
Changes by: mcvet@sourceware.org 2006-09-06 21:55:09
Modified files:
frysk/sys/proc/cni: Stat.cxx slurp.cxx slurp.hxx
frysk/gui/monitor: ProcMenu.java PIDColumnDialog.java
StatusWidget.java ChangeLog
SessionProcDataModel.java
SessionProcTreeView.java ThreadMenu.java
frysk/sys/proc : Stat.java ChangeLog
frysk/gui : ChangeLog
frysk/gui/glade: processpicker.glade procpop.glade
Added files:
frysk/gui/monitor: TIDColumnDialog.java
Log message:
frysk-sys/frysk/sys/proc:
2006-09-06 mcvet <mcvet@redhat.com>
* Stat.java (tid): Refactored from the int pid. More correct variable name.
(refreshThread): Added - supports reading proc stat information for threads
belonging to a process.
* cni/Stat.cxx (refreshThread): Added. Nearly identical to refresh() but
handles individual threads belonging to a process.
(refresh): Updated to use new variable tid.
* cni/slurp.cxx (slurp_thread): Added. Reads from /proc/PID/task/TID/stat.
* cni/slurp.hxx (slurp_thread): Added header for above function.
frysk-gui/frysk/gui:
2006-09-06 mcvet <mcvet@redhat.com>
* glade/procpop.glade: Added the tidColumnDialog dialog window.
* glade/processpicker.glade: Changed layout of header so that it
is displayed properly.
frysk-gui/frysk/gui/monitor:
2006-09-06 mcvet <mcvet@redhat.com>
* TIDColumnDialog.java: Added. Almost identical to the
PIDColumnDialog, but needed because of the extra glade reference.
* ThreadMenu.java (ThreadMenu): Removed static reference,
turned into dynamic menu like ProcMenu. Added entries to deal
with thread view customization like the process viewer.
(getMenu): Removed.
* StatusWidget.java (StatusWidget): Commented out some
unneeded mouse listeners.
* SessionProcTreeView.java (SessionProcTreeView): Addressing #3160.
Added new variables to handle extended thread information. Uses
the new dynamic ThreadMenu. Added new listeners for procPid and
threadTidColumnDialogs.
(mountThreadModel): Added listeners for all the new thread columns.
(threadViewInit): Initialized and added information for all the new
thread columns.
(refreshProcTree): Refactored from refreshTree().
(refreshThreadTree): Added.
(setProcCols): Refactored from setCols().
(setThreadCols): Added.
(getProcColNames): Refactored from getColNames().
(getThreadColNames): Added.
(getSelectedProc): Uses update getTidDC() method from the
SessionProcDataModel.
(save): Saves for the thread dialog as well.
(load): Loads for the thread dialog as well.
* SessionProcDataModel.java (tidDC): Refactored from pidDC.
(statRead): Changed parameters to now accept a Task, since
frysk.sys.Stat now handles reading thread information from /proc.
Added a check to handle new input.
(refreshProcRead): Refactored from refreshRead().
(refreshThreadRead): Added.
(addTask): Now reads from Stat.
(getTidDC): Refactored from getPidDC().
* ProcMenu.java (.menuItemEvent): Updated reference to the
refactored refreshProcTree().
* PIDColumnDialog.java (save): Updated reference to the
refactored getProcColNames().
(load): Ditto.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-sys/frysk/sys/proc/cni/Stat.cxx.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-sys/frysk/sys/proc/cni/slurp.cxx.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-sys/frysk/sys/proc/cni/slurp.hxx.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/TIDColumnDialog.java.diff?cvsroot=frysk&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/ProcMenu.java.diff?cvsroot=frysk&r1=1.9&r2=1.10
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/PIDColumnDialog.java.diff?cvsroot=frysk&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/StatusWidget.java.diff?cvsroot=frysk&r1=1.54&r2=1.55
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/ChangeLog.diff?cvsroot=frysk&r1=1.370&r2=1.371
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/SessionProcDataModel.java.diff?cvsroot=frysk&r1=1.31&r2=1.32
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/SessionProcTreeView.java.diff?cvsroot=frysk&r1=1.23&r2=1.24
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/monitor/ThreadMenu.java.diff?cvsroot=frysk&r1=1.12&r2=1.13
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-sys/frysk/sys/proc/Stat.java.diff?cvsroot=frysk&r1=1.2&r2=1.3
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-sys/frysk/sys/proc/ChangeLog.diff?cvsroot=frysk&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/ChangeLog.diff?cvsroot=frysk&r1=1.371&r2=1.372
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/glade/processpicker.glade.diff?cvsroot=frysk&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/frysk-gui/frysk/gui/glade/procpop.glade.diff?cvsroot=frysk&r1=1.94&r2=1.95