dyninst.git
23 years agoAdded features to dyninstAPI library, including the ability to delete
buck [Tue, 29 Apr 1997 16:58:15 +0000 (16:58 +0000)]
Added features to dyninstAPI library, including the ability to delete
inserted snippets and the start of type checking.

23 years agoModified the names of the functions I added earlier, added the prefix
sec [Fri, 25 Apr 1997 16:07:11 +0000 (16:07 +0000)]
Modified the names of the functions I added earlier, added the prefix
DYNINST before all of them.

23 years agothe C++ code for trace data moved from visi/h/visualization.h
hseom [Thu, 24 Apr 1997 22:11:23 +0000 (22:11 +0000)]
the C++ code for trace data moved from visi/h/visualization.h
to visi/src/visiTypesP.h

23 years agoadded support for trace data (in a byte array)
hseom [Mon, 21 Apr 1997 16:57:12 +0000 (16:57 +0000)]
added support for trace data (in a byte array)

23 years agoadded support for trace data
hseom [Mon, 21 Apr 1997 16:51:50 +0000 (16:51 +0000)]
added support for trace data

23 years agoadded support for trace data (in a byte array)
hseom [Mon, 21 Apr 1997 16:50:47 +0000 (16:50 +0000)]
added support for trace data (in a byte array)

23 years agoFixed a bug in getMemoryBounds.
zhichen [Fri, 18 Apr 1997 15:03:00 +0000 (15:03 +0000)]
Fixed a bug in getMemoryBounds.

23 years agoJust added some documentation
sec [Thu, 17 Apr 1997 20:46:34 +0000 (20:46 +0000)]
Just added some documentation

23 years agoFixed a bug in how the message tag hiearchy was orderd, and added some
sec [Thu, 17 Apr 1997 19:45:39 +0000 (19:45 +0000)]
Fixed a bug in how the message tag hiearchy was orderd, and added some
misc. functions which are called by the mdl file paradyn.rc (such as
Add(x,y) which adds x+y, Mult(x,y) which multiplies x*y, etc.  These
are needed becauses these type of expressions are not allowed as
arguments.

23 years agoDid some automatic instrumented of the MPI collective calls, to make sure
sec [Thu, 17 Apr 1997 19:44:18 +0000 (19:44 +0000)]
Did some automatic instrumented of the MPI collective calls, to make sure
the message groups and tags are recorded.

23 years agoMade is so that negative numbers are allowed.
sec [Thu, 17 Apr 1997 19:43:36 +0000 (19:43 +0000)]
Made is so that negative numbers are allowed.

23 years agoI made a simple hack modification to symtab.C buildDemangledName.
sec [Thu, 17 Apr 1997 19:43:13 +0000 (19:43 +0000)]
I made a simple hack modification to symtab.C buildDemangledName.
What was occuring was that MPI__AXXX was taken as a C++ name and was
being convereted to MPI (the constructor for MPI), which was preventing the
instrumentation of MPI__Allgather, MPI__Alltoall, etc.  If there is a better
fix, that will be looked into later.
So, in buildDemangledName, if the prefix is MPI__ then it says it is fine,
and not a C++ method name

23 years agoFixed an error in emitFuncCall.
sec [Thu, 17 Apr 1997 19:41:07 +0000 (19:41 +0000)]
Fixed an error in emitFuncCall.

23 years agoDefined a symbol that I forget to define, stache_blk_size
zhichen [Tue, 15 Apr 1997 02:50:15 +0000 (02:50 +0000)]
Defined a symbol that I forget to define, stache_blk_size

23 years agoAdded function_base *process::findOneFunctionFromAll(...)
zhichen [Mon, 14 Apr 1997 20:08:57 +0000 (20:08 +0000)]
Added function_base *process::findOneFunctionFromAll(...)

23 years agoAdded enum index { machine, procedure, process, sync_object, memory };
zhichen [Mon, 14 Apr 1997 20:08:03 +0000 (20:08 +0000)]
Added   enum index { machine, procedure, process, sync_object, memory };
        resource *memoryRoot; // shared-memory resource
        resource *memoryResource; // shared-memory resource
        resource *resource::newResource_ncb(...)
changed void resource::make_canonical...)

23 years agoAdded
zhichen [Mon, 14 Apr 1997 20:07:31 +0000 (20:07 +0000)]
Added
enum index { machine, procedure, process, sync_object, memory };
        resource *memoryRoot; // shared-memory resource
        resource *memoryResource; // shared-memory resource
        resource *resource::newResource_ncb(...)
changed
void resource::make_canonical...)

23 years agoadded reportMemory & TR_NEW_MEMORY
zhichen [Mon, 14 Apr 1997 20:06:43 +0000 (20:06 +0000)]
added reportMemory & TR_NEW_MEMORY

23 years agoChanged update_environment, do_trailing_resources, mdl_instr_rand::apply
zhichen [Mon, 14 Apr 1997 20:06:02 +0000 (20:06 +0000)]
Changed update_environment, do_trailing_resources, mdl_instr_rand::apply
mdl_init

23 years agoAdded memoryRoot.
zhichen [Mon, 14 Apr 1997 20:05:10 +0000 (20:05 +0000)]
Added memoryRoot.

23 years agoAdded dynRPC::memoryRangeSelected, dynRPC::memoryInfoResponse
zhichen [Mon, 14 Apr 1997 20:04:43 +0000 (20:04 +0000)]
Added dynRPC::memoryRangeSelected, dynRPC::memoryInfoResponse

23 years agoAdded | tIDENT tLSQUARE tUNS tRSQUARE tDOT tIDENT for instr_rand.
zhichen [Mon, 14 Apr 1997 20:03:53 +0000 (20:03 +0000)]
Added | tIDENT tLSQUARE tUNS tRSQUARE tDOT tIDENT for instr_rand.

23 years agoAdded MDL_T_MEMORY(VARIABLE,RECORD), get_type, memory::bounds, etc
zhichen [Mon, 14 Apr 1997 20:03:12 +0000 (20:03 +0000)]
Added MDL_T_MEMORY(VARIABLE,RECORD), get_type, memory::bounds, etc

23 years agoAdded MDL_T_RECORD and fixed a bug.
zhichen [Mon, 14 Apr 1997 20:01:52 +0000 (20:01 +0000)]
Added MDL_T_RECORD and fixed a bug.

23 years agoAdded ptr->dmp->getMemoryBounds.
zhichen [Mon, 14 Apr 1997 20:01:08 +0000 (20:01 +0000)]
Added ptr->dmp->getMemoryBounds.

23 years agoAdded memoryAddedCB (...)
zhichen [Mon, 14 Apr 1997 20:00:29 +0000 (20:00 +0000)]
Added memoryAddedCB (...)

23 years agoadded memoryAddedCB.
zhichen [Mon, 14 Apr 1997 19:59:51 +0000 (19:59 +0000)]
added memoryAddedCB.

23 years agoAdded friend resourceHandle createResource_ncb, friend void getMemoryBounds
zhichen [Mon, 14 Apr 1997 19:59:07 +0000 (19:59 +0000)]
Added friend resourceHandle createResource_ncb, friend void getMemoryBounds

23 years agoAdded dataManager::getMemoryBounds, dataManagerUser::newMemoryDefined
zhichen [Mon, 14 Apr 1997 19:58:22 +0000 (19:58 +0000)]
Added dataManager::getMemoryBounds, dataManagerUser::newMemoryDefined

23 years agoAdded friend resourceHandle createResource_ncb, void callMemoryFunc
zhichen [Mon, 14 Apr 1997 19:57:46 +0000 (19:57 +0000)]
Added friend resourceHandle createResource_ncb, void callMemoryFunc

23 years agoAdded performanceStream::callMemoryFunc
zhichen [Mon, 14 Apr 1997 19:57:02 +0000 (19:57 +0000)]
Added performanceStream::callMemoryFunc

23 years agoAdded dynRPCUser::memoryInfoCallback, resourceHandle createResource_ncb
zhichen [Mon, 14 Apr 1997 19:56:28 +0000 (19:56 +0000)]
Added dynRPCUser::memoryInfoCallback, resourceHandle createResource_ncb

23 years agoAdded some templates for Blizzard Memory
zhichen [Mon, 14 Apr 1997 19:55:36 +0000 (19:55 +0000)]
Added some templates for Blizzard Memory

23 years agoAdded memoryInfoCallback, memoryInfoResponse for blizzard
zhichen [Mon, 14 Apr 1997 19:54:43 +0000 (19:54 +0000)]
Added memoryInfoCallback, memoryInfoResponse for blizzard

23 years agoAdded memoryInfoCallback, getMemoryBounds, newMemoryDefined
zhichen [Mon, 14 Apr 1997 19:54:00 +0000 (19:54 +0000)]
Added memoryInfoCallback, getMemoryBounds, newMemoryDefined

23 years agoAdded DYNINSTreportNewMem
zhichen [Mon, 14 Apr 1997 19:51:37 +0000 (19:51 +0000)]
Added DYNINSTreportNewMem

23 years agoFixing compilation problem with accept and getsockname - naim
naim [Mon, 14 Apr 1997 18:32:24 +0000 (18:32 +0000)]
Fixing compilation problem with accept and getsockname - naim

23 years agoremoved pdFunction class
newhall [Mon, 14 Apr 1997 15:33:23 +0000 (15:33 +0000)]
removed pdFunction class

23 years agoremoved class pdFunction
newhall [Mon, 14 Apr 1997 00:25:12 +0000 (00:25 +0000)]
removed class pdFunction

23 years agoremoved class pdFunction and replaced it with base class function_base and
newhall [Mon, 14 Apr 1997 00:21:39 +0000 (00:21 +0000)]
removed class pdFunction and replaced it with base class function_base and
derived class pd_Function

23 years agoadded module base class, and pdmodule derived class
newhall [Thu, 10 Apr 1997 16:50:19 +0000 (16:50 +0000)]
added module base class, and pdmodule derived class

23 years agoDefined class 'memory' for blizzard shared-memory
zhichen [Wed, 9 Apr 1997 18:10:17 +0000 (18:10 +0000)]
Defined class 'memory' for blizzard shared-memory

23 years agoThis file has the same name as a system head file, removed and renamed
zhichen [Tue, 8 Apr 1997 20:05:23 +0000 (20:05 +0000)]
This file has the same name as a system head file, removed and renamed
to blizzard_memory.h

23 years agoDefine Blizzard Shared-memory information, such as name, boundary, etc
zhichen [Mon, 7 Apr 1997 18:36:39 +0000 (18:36 +0000)]
Define Blizzard Shared-memory information, such as name, boundary, etc

23 years agoadded TR_NEW_MEMORY, struct _traceMemory, for the memory hierarchy of
zhichen [Mon, 7 Apr 1997 17:53:38 +0000 (17:53 +0000)]
added TR_NEW_MEMORY, struct _traceMemory, for the memory hierarchy of
Blizzard

23 years agoPartial support for dlopen and dlclose on sparc-solaris platform. This is only
newhall [Thu, 3 Apr 1997 05:19:35 +0000 (05:19 +0000)]
Partial support for dlopen and dlclose on sparc-solaris platform.  This is only
support for catching dlopen and dlclose events and processing the link maps
to see what has changed.  We are not currently parsing and creating new
resources for newly mapped shared objects, because there is no code in place
to modify metric collection due to code objects being added or removed once
the program starts executing.

23 years agoAdded memory
zhichen [Wed, 2 Apr 1997 22:35:03 +0000 (22:35 +0000)]
Added memory

23 years agoadded 'Memory'
zhichen [Wed, 2 Apr 1997 22:34:52 +0000 (22:34 +0000)]
added 'Memory'

23 years agoAdded the code to allow a 2 level /Message hiearchy, where the first
sec [Sat, 29 Mar 1997 02:13:59 +0000 (02:13 +0000)]
Added the code to allow a 2 level /Message hiearchy, where the first
level is the message group (the communicatorId for MPI) and the second
level is the message tag.  While the UI only shows 2 level for MPI, all
daemons message tags are implemented in the same table, so if PVM is used
(which only has one level) the groupId is always -1.

23 years agoRenamed the resource MsgTag to Message
sec [Sat, 29 Mar 1997 02:10:24 +0000 (02:10 +0000)]
Renamed the resource MsgTag to Message
Modified the code to search for $constraint[0], $constraint[1], etc. instead
of $constraint; (note, $constraint[0] is really changed to $constraint0, etc.
by the parser, which is what is searched for).  The match path /A/B/C,
has C referring to $constraint[0] aka $constraint0, B to $constraint[1],
and A $constraint[2]

23 years agoChanged the daemon poe to mpi
sec [Sat, 29 Mar 1997 02:08:53 +0000 (02:08 +0000)]
Changed the daemon poe to mpi

23 years agoAdded one more level to /SyncObj to allow the 2 level deep /Message for
sec [Sat, 29 Mar 1997 02:08:36 +0000 (02:08 +0000)]
Added one more level to /SyncObj to allow the 2 level deep /Message for
MPI

23 years agoCreating the resource Message instead of MsgTag
sec [Sat, 29 Mar 1997 02:08:10 +0000 (02:08 +0000)]
Creating the resource Message instead of MsgTag

23 years agoAdding instrumentation of MPI functions
sec [Sat, 29 Mar 1997 02:07:52 +0000 (02:07 +0000)]
Adding instrumentation of MPI functions

23 years agoAdded parsing commands to understand the wildcard * path in the matchPath
sec [Sat, 29 Mar 1997 02:07:03 +0000 (02:07 +0000)]
Added parsing commands to understand the wildcard * path in the matchPath
In addition added parsing commands to understand the new constraint
field, $constraint[0], etc. which is converted to $constraint0, $constraint1,
etc. and then translated in mdl.C to the value.

23 years agoChanged /MsgTag to /Message
sec [Sat, 29 Mar 1997 02:06:06 +0000 (02:06 +0000)]
Changed /MsgTag to /Message
Added environment variables $constraint[0], $constraint[1], etc.
instead of $constraint

23 years agoDebugging stuff
sec [Sat, 29 Mar 1997 02:05:23 +0000 (02:05 +0000)]
Debugging stuff

23 years agoAdding some debugging stuff
sec [Sat, 29 Mar 1997 02:05:04 +0000 (02:05 +0000)]
Adding some debugging stuff

23 years agoChanged the resource handle MsgTags to Messages
sec [Sat, 29 Mar 1997 02:04:41 +0000 (02:04 +0000)]
Changed the resource handle MsgTags to Messages

23 years agoChanged /MsgTag to /Message in MDL/paradyn.rc
sec [Sat, 29 Mar 1997 02:04:18 +0000 (02:04 +0000)]
Changed /MsgTag to /Message in MDL/paradyn.rc

23 years agoAdding some debugging stuff.
sec [Sat, 29 Mar 1997 02:03:48 +0000 (02:03 +0000)]
Adding some debugging stuff.

23 years agoFixed a bug, the ids were being set to the metrics which couldn't be
sec [Sat, 29 Mar 1997 02:02:37 +0000 (02:02 +0000)]
Fixed a bug, the ids were being set to the metrics which couldn't be
instrumented (due to an error); since the id wasn't set it was never
being removed from the pending queu.

23 years agoRenamed the poe daemon to mpi
sec [Sat, 29 Mar 1997 02:01:43 +0000 (02:01 +0000)]
Renamed the poe daemon to mpi

23 years agoAdded more nops used to save/restore fp registers.
sec [Sat, 29 Mar 1997 02:01:11 +0000 (02:01 +0000)]
Added more nops used to save/restore fp registers.

23 years agoModified how AstNode is called, neded due to changes in instMapping.
sec [Sat, 29 Mar 1997 02:00:52 +0000 (02:00 +0000)]
Modified how AstNode is called, neded due to changes in instMapping.

23 years agoModified args to be a vector instead of a single argument, allowing
sec [Sat, 29 Mar 1997 02:00:22 +0000 (02:00 +0000)]
Modified args to be a vector instead of a single argument, allowing
the our instrumentation code to use more then one argument from the
function being instrumented.

23 years agoemitFuncCall was saving registers in the wrong location, they were overwriting
sec [Sat, 29 Mar 1997 01:59:38 +0000 (01:59 +0000)]
emitFuncCall was saving registers in the wrong location, they were overwriting
the registers saved at the beginning of the base trampoline.  So I added
an offset when saving registers (and restoring).

Created functions to save floating point registers, which are now saved
(f0-f13) in emitFuncCall, in order to protect them.  This means we are
saving 14 registers 4 times in emitFuncCall, but is required for now.

The logical operators AND & OR were instrumented incorrectly.

23 years agoAdded some defines for floating point register ops
sec [Sat, 29 Mar 1997 01:56:12 +0000 (01:56 +0000)]
Added some defines for floating point register ops

23 years agoadded code to set process:pdFlavor
zhichen [Sun, 23 Mar 1997 16:57:48 +0000 (16:57 +0000)]
added code to set process:pdFlavor

23 years agobased on process::pdFlavor, set initial inst accordingly.
zhichen [Sun, 23 Mar 1997 16:53:11 +0000 (16:53 +0000)]
based on process::pdFlavor, set initial inst accordingly.

23 years agochanged process::attach(), do not set inheri_on_fork if flavor is 'cow'
zhichen [Sun, 23 Mar 1997 16:52:08 +0000 (16:52 +0000)]
changed process::attach(), do not set inheri_on_fork if flavor is 'cow'

23 years agoAdded declaration of process::pdFlavor ;
zhichen [Sun, 23 Mar 1997 16:51:12 +0000 (16:51 +0000)]
Added declaration of process::pdFlavor ;

23 years agoAdded static string pdFlavor ; in class process
zhichen [Sun, 23 Mar 1997 16:50:21 +0000 (16:50 +0000)]
Added static string pdFlavor ; in class process

23 years agoForgot to remove old templates from paradynd.
buck [Tue, 18 Mar 1997 20:02:33 +0000 (20:02 +0000)]
Forgot to remove old templates from paradynd.

23 years agofirst commit of dyninst library. Also includes:
buck [Tue, 18 Mar 1997 19:43:26 +0000 (19:43 +0000)]
first commit of dyninst library.  Also includes:
moving templates from paradynd to dyninstAPI
converting showError into a function (in showerror.C)
many ifdefs for BPATCH_LIBRARY in dyinstAPI/src.

23 years agoChanged to start blizzard application, when flavor is 'cow'
zhichen [Mon, 17 Mar 1997 19:58:18 +0000 (19:58 +0000)]
Changed to start blizzard application, when flavor is 'cow'

23 years agoSmall changes made for handling inferior procedure call on hpux platform
lzheng [Mon, 17 Mar 1997 02:18:46 +0000 (02:18 +0000)]
Small changes made for handling inferior procedure call on hpux platform

23 years agoAdded one more function to handle inferior procedure call
lzheng [Mon, 17 Mar 1997 02:17:15 +0000 (02:17 +0000)]
Added one more function to handle inferior procedure call

23 years agoFollow up commit of previous commit to this file
lzheng [Mon, 17 Mar 1997 00:06:48 +0000 (00:06 +0000)]
Follow up commit of previous commit to this file

23 years agoChanges made for the value of observed cost
lzheng [Sun, 16 Mar 1997 23:16:31 +0000 (23:16 +0000)]
Changes made for the value of observed cost

23 years agoadded info about c test program
newhall [Sat, 15 Mar 1997 03:16:38 +0000 (03:16 +0000)]
added info about c test program

23 years agoc version of xtext visi
newhall [Fri, 14 Mar 1997 22:06:17 +0000 (22:06 +0000)]
c version of xtext visi

23 years agoadded example c visi program
newhall [Fri, 14 Mar 1997 22:05:40 +0000 (22:05 +0000)]
added example c visi program

23 years agoAdded reportSelf in the case when the daemons were started by
zhichen [Fri, 14 Mar 1997 18:50:57 +0000 (18:50 +0000)]
Added reportSelf in the case when the daemons were started by
COW DJM. Search for 'Tempest' for the change

23 years agoDealing with complier optimization related to the return value
lzheng [Fri, 14 Mar 1997 15:57:07 +0000 (15:57 +0000)]
Dealing with complier optimization related to the return value

23 years agoFixed bug that let .text symbols into function name table.
hollings [Tue, 11 Mar 1997 17:54:55 +0000 (17:54 +0000)]
Fixed bug that let .text symbols into function name table.
This caused the first function in an executable to not be found for
instrumentation.

23 years agofix to check for if return points overlap in pdFunction::checkInstPoints
newhall [Fri, 7 Mar 1997 17:05:13 +0000 (17:05 +0000)]
fix to check for if return points overlap in pdFunction::checkInstPoints

23 years agoFixed bug related to finding next free index in the inferior heap - naim
naim [Thu, 6 Mar 1997 20:08:57 +0000 (20:08 +0000)]
Fixed bug related to finding next free index in the inferior heap - naim

23 years agoMinor change to fix warning message about MAX macro - naim
naim [Wed, 5 Mar 1997 21:33:23 +0000 (21:33 +0000)]
Minor change to fix warning message about MAX macro - naim

23 years agoMinor change to fix compiler error on aix - naim
naim [Wed, 5 Mar 1997 21:32:57 +0000 (21:32 +0000)]
Minor change to fix compiler error on aix - naim

23 years agoMaking sure we only save REG_MT for the MT_THREAD case - naim
naim [Wed, 5 Mar 1997 21:32:34 +0000 (21:32 +0000)]
Making sure we only save REG_MT for the MT_THREAD case - naim

23 years agoChanged deletes of malloc'd space to be frees.
hollings [Wed, 5 Mar 1997 17:37:08 +0000 (17:37 +0000)]
Changed deletes of malloc'd space to be frees.

23 years agoModified how registers are saved/restored when a function call is made,
sec [Mon, 3 Mar 1997 19:50:15 +0000 (19:50 +0000)]
Modified how registers are saved/restored when a function call is made,
in emitFuncCall.  It was previously saving registers in the same location
the registers were saved in the base trampoline, which was causing a problem
because the original values were being overwritten.

23 years agoTurning MT_THREAD flag to "true" in order to use vector of counter/timers - naim
naim [Fri, 28 Feb 1997 15:54:50 +0000 (15:54 +0000)]
Turning MT_THREAD flag to "true" in order to use vector of counter/timers - naim

23 years agoAdded debugging information for HP and POWER, so we can attach to the
naim [Fri, 28 Feb 1997 15:54:05 +0000 (15:54 +0000)]
Added debugging information for HP and POWER, so we can attach to the
application - naim

23 years agoFixing problem with use of registers before and after function calls - naim
naim [Fri, 28 Feb 1997 15:53:13 +0000 (15:53 +0000)]
Fixing problem with use of registers before and after function calls - naim

23 years agochanged some calls to open, and dup to use syscall instead. This is for
newhall [Thu, 27 Feb 1997 19:11:06 +0000 (19:11 +0000)]
changed some calls to open, and dup to use syscall instead.  This is for
applications that have their own version of these routines, we want to make
sure to call the correct open or dup.

23 years agoFirst part of WindowsNT port: divided RTposix.c into two files,
mjrg [Wed, 26 Feb 1997 23:52:05 +0000 (23:52 +0000)]
First part of WindowsNT port: divided RTposix.c into two files,
RTinst.c which has all platform independent code and RTposix.c with
unix specific code

23 years agoFirst part of WindowsNT commit: changes for compiling with VisualC++;
mjrg [Wed, 26 Feb 1997 23:49:41 +0000 (23:49 +0000)]
First part of WindowsNT commit: changes for compiling with VisualC++;
moved includes to platform header files

23 years agoFirst part of WindowsNT port: changes for compiling with Visual C++;
mjrg [Wed, 26 Feb 1997 23:46:27 +0000 (23:46 +0000)]
First part of WindowsNT port: changes for compiling with Visual C++;
moved unix specific code to unix.C file