dyninst.git
25 years agoClean up this file so that it could be easily maintained in future.
lzheng [Tue, 30 Apr 1996 16:11:44 +0000 (16:11 +0000)]
Clean up this file so that it could be easily maintained in future.

25 years agoincreased sliding window size for smoothed observed cost.
karavan [Tue, 30 Apr 1996 06:28:36 +0000 (06:28 +0000)]
increased sliding window size for smoothed observed cost.

25 years agochange PC pause function so cost-related metric instances aren't disabled
karavan [Tue, 30 Apr 1996 06:26:41 +0000 (06:26 +0000)]
change PC pause function so cost-related metric instances aren't disabled
if another phase is running.

fixed bug in search node activation code.

added change to treat activeProcesses metric differently in all PCmetrics
in which it is used; checks for refinement along process hierarchy and
if there is one, uses value "1" instead of enabling activeProcesses metric.

changed costTracker:  we now use min of active Processes and number of
cpus, instead of just number of cpus; also now we average only across
time intervals rather than cumulative average.

25 years agoAdded size to functions
mjrg [Mon, 29 Apr 1996 22:19:39 +0000 (22:19 +0000)]
Added size to functions

25 years agoAdded size to functions (get size from symbol table)
mjrg [Mon, 29 Apr 1996 22:18:42 +0000 (22:18 +0000)]
Added size to functions (get size from symbol table)
Use size to define function boundary
Find multiple return points for sparc
Instrument branches and jumps out of a function as return points (sparc)
Recognize tail-call optimizations and instrument them as return points (sparc)
Move instPoint to machine dependent files

25 years agoreplaced an assert by an error checking
mjrg [Mon, 29 Apr 1996 22:09:42 +0000 (22:09 +0000)]
replaced an assert by an error checking

25 years agoadded some extra defines
mjrg [Mon, 29 Apr 1996 22:08:44 +0000 (22:08 +0000)]
added some extra defines

25 years agofixed a bug in configNode which could fail to properly hide the root node
tamches [Mon, 29 Apr 1996 21:29:58 +0000 (21:29 +0000)]
fixed a bug in configNode which could fail to properly hide the root node
when set to false with hideFalseNodes.

25 years agoadded vector<internalMetric::eachInstance>
tamches [Mon, 29 Apr 1996 03:43:00 +0000 (03:43 +0000)]
added vector<internalMetric::eachInstance>

25 years agooverhaul of how internal metrics are used, to correspond to the
tamches [Mon, 29 Apr 1996 03:41:29 +0000 (03:41 +0000)]
overhaul of how internal metrics are used, to correspond to the
greatly updated internalMetrics class

25 years agoadded getFocus() member func
tamches [Mon, 29 Apr 1996 03:40:03 +0000 (03:40 +0000)]
added getFocus() member func

25 years agofirst version of the .C file; complete overhaul & cleanification of
tamches [Mon, 29 Apr 1996 03:39:33 +0000 (03:39 +0000)]
first version of the .C file; complete overhaul & cleanification of
internalMetrics class (used to be in metric.C)

25 years agocomplete overhaul & cleanification of internalMetrics class
tamches [Mon, 29 Apr 1996 03:38:03 +0000 (03:38 +0000)]
complete overhaul & cleanification of internalMetrics class

25 years agodeclaration of computePauseTimeMetric now has a param
tamches [Mon, 29 Apr 1996 03:36:40 +0000 (03:36 +0000)]
declaration of computePauseTimeMetric now has a param

25 years agocomputePauseTimeMetric now takes in a metric (but doesn't use it)
tamches [Mon, 29 Apr 1996 03:36:22 +0000 (03:36 +0000)]
computePauseTimeMetric now takes in a metric (but doesn't use it)

25 years agocomputePauseTimeMetric now takes in a param (but doesn't use it)
tamches [Mon, 29 Apr 1996 03:35:54 +0000 (03:35 +0000)]
computePauseTimeMetric now takes in a param (but doesn't use it)

25 years agocomputePauseTimeMetric now takes in a param (but doesn't use it), to conform
tamches [Mon, 29 Apr 1996 03:35:23 +0000 (03:35 +0000)]
computePauseTimeMetric now takes in a param (but doesn't use it), to conform
to new internalMetrics class

25 years agocomputePauseTimeMetric now takes in a metric (but doesn't use it), to
tamches [Mon, 29 Apr 1996 03:34:41 +0000 (03:34 +0000)]
computePauseTimeMetric now takes in a metric (but doesn't use it), to
conform to new internalMetrics class

25 years agoadded activeProcessesProc
tamches [Mon, 29 Apr 1996 03:34:10 +0000 (03:34 +0000)]
added activeProcessesProc
changed declaration of active_processes internal metric

25 years agobucket_width handling slightly changed to conform to new internalMetrics.h/.C
tamches [Mon, 29 Apr 1996 03:32:56 +0000 (03:32 +0000)]
bucket_width handling slightly changed to conform to new internalMetrics.h/.C

25 years agoadded internalMetrics.C
tamches [Mon, 29 Apr 1996 03:30:50 +0000 (03:30 +0000)]
added internalMetrics.C

25 years agoRemoved newlines from description of error msgs
tamches [Mon, 29 Apr 1996 03:29:53 +0000 (03:29 +0000)]
Removed newlines from description of error msgs

25 years agoadded APP_PURE_OPTIONS for application-specific purify options
tamches [Mon, 29 Apr 1996 03:27:55 +0000 (03:27 +0000)]
added APP_PURE_OPTIONS for application-specific purify options

25 years agoFixed bug in global metric id processing (needs to start at 1 not 0).
hollings [Sat, 27 Apr 1996 16:04:19 +0000 (16:04 +0000)]
Fixed bug in global metric id processing (needs to start at 1 not 0).

25 years agoChanges to the procedure emitFuncCall. (move all the code dealing with
lzheng [Fri, 26 Apr 1996 20:53:36 +0000 (20:53 +0000)]
Changes to the procedure emitFuncCall. (move all the code dealing with
the function Calls in the miniTrampoline to here)

25 years agoChanges to the procedure emitFuncCall. (move all the code dealing with
lzheng [Fri, 26 Apr 1996 20:43:07 +0000 (20:43 +0000)]
Changes to the procedure emitFuncCall. (move all the code dealing with
function Call in the miniTrampoline here)

25 years agoSome changes are moved so that function arguments registers are saved
lzheng [Fri, 26 Apr 1996 20:38:47 +0000 (20:38 +0000)]
Some changes are moved so that function arguments registers are saved
in miniTrampoline.
Changes in emitFuncCall to remove the #ifdef in ast.C

25 years agoMove part of code in AstNode::generateCode to machine dependent file.
lzheng [Fri, 26 Apr 1996 20:16:16 +0000 (20:16 +0000)]
Move part of code in AstNode::generateCode to machine dependent file.
(Those code are put into the procedure emitFuncCall)

25 years agoMoved the defination of emitFuncCall from inst.h to here.
lzheng [Fri, 26 Apr 1996 20:04:32 +0000 (20:04 +0000)]
Moved the defination of emitFuncCall from inst.h to here.

25 years agoSome minor changes in the constructor of pdFunction(for hpux only)
lzheng [Fri, 26 Apr 1996 20:01:44 +0000 (20:01 +0000)]
Some minor changes in the constructor of pdFunction(for hpux only)
in order to prvent paradyn from dying for special instruction sequences.

25 years agoMoved some data structures used by HP only to the machine dependent file.
lzheng [Fri, 26 Apr 1996 19:58:29 +0000 (19:58 +0000)]
Moved some data structures used by HP only to the machine dependent file.
And an argument for constructor of instPoint to pass the error.

25 years agoremoved some uncessage defination because of the changes in tramp-hppa.s
lzheng [Fri, 26 Apr 1996 19:55:45 +0000 (19:55 +0000)]
removed some uncessage defination because of the changes in tramp-hppa.s

25 years agoRemoved the instruction words used to save the function argument registers.
lzheng [Fri, 26 Apr 1996 19:54:40 +0000 (19:54 +0000)]
Removed the instruction words used to save the function argument registers.
They are saved in miniTrampoline now

25 years agoMoved prototype of emitFuncCall to ast.h because the function arguments
lzheng [Fri, 26 Apr 1996 19:52:11 +0000 (19:52 +0000)]
Moved prototype of emitFuncCall to ast.h because the function arguments
used is changed.

25 years agoremove a #ifdef for hpux
lzheng [Fri, 26 Apr 1996 19:49:21 +0000 (19:49 +0000)]
remove a #ifdef for hpux

25 years agoMove some data structures used by HPUX only from symtab.h to here
lzheng [Fri, 26 Apr 1996 19:48:24 +0000 (19:48 +0000)]
Move some data structures used by HPUX only from symtab.h to here

25 years agochanges for EXIT_NAME
lzheng [Fri, 26 Apr 1996 19:45:45 +0000 (19:45 +0000)]
changes for EXIT_NAME

25 years agoadded P_endservent
lzheng [Fri, 26 Apr 1996 01:28:28 +0000 (01:28 +0000)]
added P_endservent

25 years agoFixed a bug with $globalId on metric inherit.
hollings [Thu, 25 Apr 1996 22:45:13 +0000 (22:45 +0000)]
Fixed a bug with $globalId on metric inherit.

25 years agoWe now do a yview -pickplace end on the "status window" area when changing
tamches [Wed, 24 Apr 1996 21:58:07 +0000 (21:58 +0000)]
We now do a yview -pickplace end on the "status window" area when changing
phases.

25 years agoadded string::string(const char *str, unsigned len)
tamches [Wed, 24 Apr 1996 19:34:00 +0000 (19:34 +0000)]
added string::string(const char *str, unsigned len)

25 years agoadded string (const char *, unsigned n) constructor
tamches [Wed, 24 Apr 1996 19:33:30 +0000 (19:33 +0000)]
added string (const char *, unsigned n) constructor

25 years agoMinor change to print message - naim
naim [Wed, 24 Apr 1996 15:01:19 +0000 (15:01 +0000)]
Minor change to print message - naim

25 years agoFixing misspelling error - naim
naim [Wed, 24 Apr 1996 15:00:34 +0000 (15:00 +0000)]
Fixing misspelling error - naim

25 years agoadded comments, minor change to getPredictedDataCostAsync
newhall [Mon, 22 Apr 1996 17:59:23 +0000 (17:59 +0000)]
added comments, minor change to getPredictedDataCostAsync

25 years agominor change to predictedDataCost
newhall [Mon, 22 Apr 1996 17:56:40 +0000 (17:56 +0000)]
minor change to predictedDataCost

25 years agoFixing bug: making sure that application was running before calling
naim [Mon, 22 Apr 1996 16:10:25 +0000 (16:10 +0000)]
Fixing bug: making sure that application was running before calling
continueProc in procedure walkStack - naim

25 years agoadded callbacks.cFunc
newhall [Sun, 21 Apr 1996 22:08:56 +0000 (22:08 +0000)]
added callbacks.cFunc

25 years agochanged getPredictedDataCostAsync
newhall [Sun, 21 Apr 1996 21:45:38 +0000 (21:45 +0000)]
changed getPredictedDataCostAsync

25 years agoadded PCpredData, and registered at a cFunc controlCallback func
newhall [Sun, 21 Apr 1996 21:45:02 +0000 (21:45 +0000)]
added PCpredData, and registered at a cFunc controlCallback func

25 years agoremoved performanceConsultant::getPredictedDataCostCallbackPC
newhall [Sun, 21 Apr 1996 21:44:23 +0000 (21:44 +0000)]
removed performanceConsultant::getPredictedDataCostCallbackPC

25 years agoadded vector<predCostType*>
newhall [Sun, 21 Apr 1996 21:42:51 +0000 (21:42 +0000)]
added vector<predCostType*>

25 years agochanges to getPredictedDataCost and getPredictedDataCostCallback
newhall [Sun, 21 Apr 1996 21:42:02 +0000 (21:42 +0000)]
changes to getPredictedDataCost and getPredictedDataCostCallback

25 years agochanges to make getPredictedDataCost truely asynchronous, the DM can now
newhall [Sun, 21 Apr 1996 21:41:19 +0000 (21:41 +0000)]
changes to make getPredictedDataCost truely asynchronous, the DM can now
handle any number of outstanding calls to this routine, and does not contain
any calls to PC routines

25 years agoadded predDataCostCallbackFunc, predictedDataCost upcall, and changed
newhall [Sun, 21 Apr 1996 21:39:44 +0000 (21:39 +0000)]
added predDataCostCallbackFunc, predictedDataCost upcall, and changed
arguments to getPredictedDataCost

25 years agochanged getPredictedDataCostCallback and getPredictedDataCost
newhall [Sun, 21 Apr 1996 21:38:04 +0000 (21:38 +0000)]
changed getPredictedDataCostCallback and getPredictedDataCost

25 years agoremoved getPredictedDataCostCallbackPC
newhall [Sun, 21 Apr 1996 21:37:18 +0000 (21:37 +0000)]
removed getPredictedDataCostCallbackPC

25 years agochange to paradynDaemon::endOfDataCollection to check for disabled mid case
newhall [Fri, 19 Apr 1996 21:38:23 +0000 (21:38 +0000)]
change to paradynDaemon::endOfDataCollection to check for disabled mid case
replaced msg_poll with msg_poll_pref in DMmain

25 years agoreplaced call to msg_poll with msg_poll_preference
newhall [Fri, 19 Apr 1996 21:25:02 +0000 (21:25 +0000)]
replaced call to msg_poll with msg_poll_preference

25 years agoAdding a procedure that will be called when we want to add a new process,
naim [Fri, 19 Apr 1996 18:28:17 +0000 (18:28 +0000)]
Adding a procedure that will be called when we want to add a new process,
as it is done using the "paradyn process" command - naim

25 years agoAdding a procedure that will be called from the DM to add a new process,
naim [Fri, 19 Apr 1996 18:26:37 +0000 (18:26 +0000)]
Adding a procedure that will be called from the DM to add a new process,
as it is done using the "paradyn process" command - naim

25 years agoFixing a minor problem with getPredictedDataCost procedure - naim
naim [Fri, 19 Apr 1996 16:24:19 +0000 (16:24 +0000)]
Fixing a minor problem with getPredictedDataCost procedure - naim

25 years agofixed an assert failure that was happening when hideFalseNodes was on
tamches [Thu, 18 Apr 1996 23:26:31 +0000 (23:26 +0000)]
fixed an assert failure that was happening when hideFalseNodes was on
and when a node changed from true to false

25 years agoAdding parameters that control and delay (when necessary) the deletion
naim [Thu, 18 Apr 1996 22:06:07 +0000 (22:06 +0000)]
Adding parameters that control and delay (when necessary) the deletion
of instrumentation. Also, some minor misspelling fixes - naim

25 years agoChanging maximum buffer size to 2K to write messages from paradynd to paradyn
naim [Thu, 18 Apr 1996 22:03:49 +0000 (22:03 +0000)]
Changing maximum buffer size to 2K to write messages from paradynd to paradyn
- naim

25 years agoChanges to make getPredictedDataCost asynchronous - naim
naim [Thu, 18 Apr 1996 22:00:13 +0000 (22:00 +0000)]
Changes to make getPredictedDataCost asynchronous - naim

25 years agoChanges to make possible to wait for messages and results on a particular
naim [Thu, 18 Apr 1996 21:59:30 +0000 (21:59 +0000)]
Changes to make possible to wait for messages and results on a particular
thread using igen - naim

25 years agonew DAGaddBatchOfEdges to correspond with PCthread/PCshg.C changes
tamches [Thu, 18 Apr 1996 20:46:35 +0000 (20:46 +0000)]
new DAGaddBatchOfEdges to correspond with PCthread/PCshg.C changes

25 years agouiRequestBuff no longer a pointer; we call 'new' on a vector just before
tamches [Thu, 18 Apr 1996 20:44:18 +0000 (20:44 +0000)]
uiRequestBuff no longer a pointer; we call 'new' on a vector just before
the batch call.  This avoids some purify hits.

25 years agouiRequestBuff no longer a pointer; numUIrequests no longer needed
tamches [Thu, 18 Apr 1996 20:43:19 +0000 (20:43 +0000)]
uiRequestBuff no longer a pointer; numUIrequests no longer needed

25 years agotunable "predictedCostLimit" renamed to "costLimit"; also, its initial
tamches [Thu, 18 Apr 1996 02:27:13 +0000 (02:27 +0000)]
tunable "predictedCostLimit" renamed to "costLimit"; also, its initial
value now 0.2

25 years agobug fix.
karavan [Wed, 17 Apr 1996 21:58:44 +0000 (21:58 +0000)]
bug fix.

25 years agochanged updateStatusDisplay to take a string
karavan [Tue, 16 Apr 1996 18:39:05 +0000 (18:39 +0000)]
changed updateStatusDisplay to take a string

25 years agofine-tunification of UI-PC batching code, plus addification of some
karavan [Tue, 16 Apr 1996 18:37:27 +0000 (18:37 +0000)]
fine-tunification of UI-PC batching code, plus addification of some
Ari-like verbification commentification.

25 years agoBUG FIX.
karavan [Tue, 16 Apr 1996 18:36:10 +0000 (18:36 +0000)]
BUG FIX.

25 years agoChanging from global to local grab - naim
naim [Mon, 15 Apr 1996 16:18:41 +0000 (16:18 +0000)]
Changing from global to local grab - naim

25 years agobug fix: added size member to shg class for use in UI batching.
karavan [Sun, 14 Apr 1996 03:21:13 +0000 (03:21 +0000)]
bug fix:  added size member to shg class for use in UI batching.

25 years agoadded new uiSHGrequest type for UI/PC interface
karavan [Sat, 13 Apr 1996 23:46:42 +0000 (23:46 +0000)]
added new uiSHGrequest type for UI/PC interface

25 years agobug fix to AlignTimes
karavan [Sat, 13 Apr 1996 04:43:03 +0000 (04:43 +0000)]
bug fix to AlignTimes

25 years agobetter implementation of batching for new edge requests to UI shg display
karavan [Sat, 13 Apr 1996 04:42:30 +0000 (04:42 +0000)]
better implementation of batching for new edge requests to UI shg display

changed type returned from datamgr->magnify and datamgr->magnify2

25 years agochanged rlNameIdType to contain const char *, not string
karavan [Sat, 13 Apr 1996 04:41:31 +0000 (04:41 +0000)]
changed rlNameIdType to contain const char *, not string

25 years agonew interface for batching edge requests
karavan [Sat, 13 Apr 1996 04:40:24 +0000 (04:40 +0000)]
new interface for batching edge requests

25 years agobetter implementation of batching for edge requests
karavan [Sat, 13 Apr 1996 04:39:39 +0000 (04:39 +0000)]
better implementation of batching for edge requests

25 years agoadded assert stmts
newhall [Wed, 10 Apr 1996 19:24:37 +0000 (19:24 +0000)]
added assert stmts

25 years agoadded getMetricName getFocusName methods to metricInstance class
newhall [Wed, 10 Apr 1996 19:24:24 +0000 (19:24 +0000)]
added getMetricName getFocusName methods to metricInstance class

25 years agofixed bug with disableDataCollection when persistent_data flag is set
newhall [Wed, 10 Apr 1996 19:07:54 +0000 (19:07 +0000)]
fixed bug with disableDataCollection when persistent_data flag is set

25 years agoremoved debug code
newhall [Wed, 10 Apr 1996 19:06:47 +0000 (19:06 +0000)]
removed debug code

25 years agoChanges to support multiple arguments to calls
lzheng [Wed, 10 Apr 1996 18:01:19 +0000 (18:01 +0000)]
Changes to support multiple arguments to calls

25 years agoAdded multiple arguments to calls for HPUX by using stack instead of extra
lzheng [Wed, 10 Apr 1996 18:00:11 +0000 (18:00 +0000)]
Added multiple arguments to calls for HPUX by using stack instead of extra
registers.

25 years agoTwo opCodes( loadMemOp, storeMemOp) are added for HP and the prototype of
lzheng [Wed, 10 Apr 1996 17:58:24 +0000 (17:58 +0000)]
Two opCodes( loadMemOp, storeMemOp) are added for HP and the prototype of
emitFuncCall for HP is changed to support multiple arguments.

25 years agofixed a bug in removeComponent
mjrg [Wed, 10 Apr 1996 00:18:43 +0000 (00:18 +0000)]
fixed a bug in removeComponent

25 years agochanged DYNINSTgetWallTime to DYNINSTgetWalltime to fix undefined symbol
newhall [Tue, 9 Apr 1996 22:20:50 +0000 (22:20 +0000)]
changed DYNINSTgetWallTime to DYNINSTgetWalltime to fix undefined symbol
errors when applications are linked with libdyninstRT_cp.a

25 years agoadded batch mode for adding a group of new nodes and edges to SHG display.
karavan [Tue, 9 Apr 1996 19:25:57 +0000 (19:25 +0000)]
added batch mode for adding a group of new nodes and edges to SHG display.

25 years agoadded batch mode to cut down on shg redraw time.
karavan [Tue, 9 Apr 1996 19:25:07 +0000 (19:25 +0000)]
added batch mode to cut down on shg redraw time.

25 years agoadded back batch mode to cut down on shg redraw time
karavan [Tue, 9 Apr 1996 19:24:22 +0000 (19:24 +0000)]
added back batch mode to cut down on shg redraw time

25 years agochange to metricInstance::dataDisable, to remove components from aggSample
newhall [Tue, 9 Apr 1996 16:15:26 +0000 (16:15 +0000)]
change to metricInstance::dataDisable, to remove components from aggSample
this fixes a the case when the persistent_data flag is set for an MI

25 years agoFixing prototype for procedure DYNINSTgenerateTraceRecord and adding
naim [Tue, 9 Apr 1996 15:52:36 +0000 (15:52 +0000)]
Fixing prototype for procedure DYNINSTgenerateTraceRecord and adding
additional parameters to a call to this function in RTtags.c that has these
parameters missing - naim

25 years agoMinor fix to previous commit - naim
naim [Tue, 9 Apr 1996 15:50:11 +0000 (15:50 +0000)]
Minor fix to previous commit - naim

25 years ago DYNINSTalarmExpire on HPUX is changed so that it will handle the interrpt
lzheng [Mon, 8 Apr 1996 23:18:15 +0000 (23:18 +0000)]
 DYNINSTalarmExpire on HPUX is changed so that it will handle the interrpt
 of system call correctly.
 Five functions is duplicated for HP. One reason is for efficiency,
 the other reasons is stated in the comments.

25 years agofirst version
lzheng [Mon, 8 Apr 1996 22:34:40 +0000 (22:34 +0000)]
first version