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

24 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

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

24 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

24 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

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

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

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

24 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

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

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

24 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

24 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

24 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

24 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

24 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

24 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

24 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.

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

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

24 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.

24 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]

24 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

24 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

24 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

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

24 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.

24 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

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

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

24 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

24 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

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

24 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.

24 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

24 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.

24 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.

24 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.

24 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.

24 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

24 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

24 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.

24 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'

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

24 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

24 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.

24 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.

24 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'

24 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

24 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

24 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

24 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

24 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

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

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

24 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

24 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

24 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.

24 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

24 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

24 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

24 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

24 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

24 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.

24 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.

24 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

24 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

24 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

24 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.

24 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

24 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

24 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

24 years agoChanged return value argument
mjrg [Wed, 26 Feb 1997 23:45:05 +0000 (23:45 +0000)]
Changed return value argument

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

24 years agoFixing a problem with temporary counters for pvm metrics - naim
naim [Wed, 26 Feb 1997 18:03:52 +0000 (18:03 +0000)]
Fixing a problem with temporary counters for pvm metrics - naim

24 years agoCommited changes to fix the problem of reading wrong return value
lzheng [Tue, 25 Feb 1997 18:57:30 +0000 (18:57 +0000)]
Commited changes to fix the problem of reading wrong return value
(treat the leaf and not-leaf routines differently)

24 years agoAdded EEL awareness to Object-elf32.h, search for 'EEL' for comments.
zhichen [Tue, 25 Feb 1997 17:34:33 +0000 (17:34 +0000)]
Added EEL awareness to Object-elf32.h, search for 'EEL' for comments.

24 years agoMinor fix to my previous commit - naim
naim [Mon, 24 Feb 1997 14:22:58 +0000 (14:22 +0000)]
Minor fix to my previous commit - naim

24 years agoEliminating references to dataReqNode from the ast class - Pre-dyninstAPI
naim [Fri, 21 Feb 1997 20:20:35 +0000 (20:20 +0000)]
Eliminating references to dataReqNode from the ast class - Pre-dyninstAPI
commit - naim

24 years agoEliminating all references to dataReqNode from the ast class. Pre-dynisntAPI
naim [Fri, 21 Feb 1997 20:19:45 +0000 (20:19 +0000)]
Eliminating all references to dataReqNode from the ast class. Pre-dynisntAPI
commit - naim

24 years agoMoving files from paradynd to dyninstAPI - First pre-dynisntAPI commit! - naim
naim [Fri, 21 Feb 1997 20:17:05 +0000 (20:17 +0000)]
Moving files from paradynd to dyninstAPI - First pre-dynisntAPI commit! - naim

24 years agoMoving files from paradynd to dyninstAPI + eliminating references to
naim [Fri, 21 Feb 1997 20:15:34 +0000 (20:15 +0000)]
Moving files from paradynd to dyninstAPI + eliminating references to
dataReqNode from the ast class. This is the first pre-dyninstAPI commit! - naim

24 years agoMoving files from paradynd to dyninstAPI + moving references to dataReqNode
naim [Fri, 21 Feb 1997 20:13:10 +0000 (20:13 +0000)]
Moving files from paradynd to dyninstAPI + moving references to dataReqNode
out of the ast class. The is the first pre-dyninstAPI commit! - naim

24 years agoMoving files from paradynd to dyninstAPI - naim
naim [Fri, 21 Feb 1997 20:10:31 +0000 (20:10 +0000)]
Moving files from paradynd to dyninstAPI - naim

24 years agoMoving files from paradynd to dyninstAPI - naim
naim [Fri, 21 Feb 1997 20:03:55 +0000 (20:03 +0000)]
Moving files from paradynd to dyninstAPI - naim

24 years agoMoving files to from paradynd to dyninstAPI - naim
naim [Fri, 21 Feb 1997 20:02:04 +0000 (20:02 +0000)]
Moving files to from paradynd to dyninstAPI - naim

24 years agoMoving files to dyninstAPI directory - naim
naim [Fri, 21 Feb 1997 19:57:59 +0000 (19:57 +0000)]
Moving files to dyninstAPI directory - naim

24 years agoMoving aix.C to different directory - naim
naim [Fri, 21 Feb 1997 19:44:21 +0000 (19:44 +0000)]
Moving aix.C to different directory - naim

24 years agoRemoving cmost.h - naim
naim [Fri, 21 Feb 1997 19:29:25 +0000 (19:29 +0000)]
Removing cmost.h - naim

24 years agoCleaned up some stuff, warnings, etc.
sec [Tue, 18 Feb 1997 21:35:38 +0000 (21:35 +0000)]
Cleaned up some stuff, warnings, etc.

24 years agoCleaned up some stuff
sec [Tue, 18 Feb 1997 21:35:07 +0000 (21:35 +0000)]
Cleaned up some stuff

24 years agoThere were some bugs in how the time was accessed, fixed those; I also
sec [Tue, 18 Feb 1997 21:34:37 +0000 (21:34 +0000)]
There were some bugs in how the time was accessed, fixed those; I also
removed DYNISTexecvp which is buggy, and is never called (it was called
for MPI stuff, but I replaced it with some modifications for poe/mpi in
paradyn/DMthread).

24 years agoRedefined how base trampolines for function exit/return points are created,
sec [Tue, 18 Feb 1997 21:30:23 +0000 (21:30 +0000)]
Redefined how base trampolines for function exit/return points are created,
inserted, executed, etc.  We are unable to always find (all of the)
return branches out of a function.  So intead, we modified how things are done
a bit.

By modifying the entry base trampoline of a function, and allocating a
few instructions, we are able to set the link register (which points to
the instruction where the pc will go to after it exits the function) to
point to the return base trampoline.  So, when the function exits it will
jump to the return base trampoline, which will reset the link register to
point to where it should really go--the original value of the link register,
where the function should really go after it exits--is stored on the stack,
in the callee's link-area word #4.

In order to get things working, and be a bit conservative, whenever an entry
or exit trampoline is created, the other one will also be created.  So you
will always have both, and entry and exit trampoline for a function.  This
is done to prevent us from going in and changing the entry trampoline when
an exit trampoline is added.

24 years agoAdded poe support
sec [Tue, 18 Feb 1997 21:25:15 +0000 (21:25 +0000)]
Added poe support

24 years agoCleaned up some code.
sec [Tue, 18 Feb 1997 21:24:24 +0000 (21:24 +0000)]
Cleaned up some code.

24 years agoAdded a field to instPoint, which identifies what the instrumentation
sec [Tue, 18 Feb 1997 21:24:09 +0000 (21:24 +0000)]
Added a field to instPoint, which identifies what the instrumentation
point is for (an enum saying ipFuncEntry, ipFuncReturn, ipFuncCallPoint).

24 years agoCleaned some code and removed some warning messages
sec [Tue, 18 Feb 1997 21:18:09 +0000 (21:18 +0000)]
Cleaned some code and removed some warning messages

24 years agoCleaned some code up
sec [Tue, 18 Feb 1997 21:17:35 +0000 (21:17 +0000)]
Cleaned some code up

24 years agoAdded 5 instructions to the base trampoline, 4 nops under the label of
sec [Tue, 18 Feb 1997 21:17:03 +0000 (21:17 +0000)]
Added 5 instructions to the base trampoline, 4 nops under the label of
UPDATE_LR, used to update the link register in function entry and exit
points.

24 years agoAdded some support for MPI functions, default instrumentation to catch
sec [Tue, 18 Feb 1997 21:16:04 +0000 (21:16 +0000)]
Added some support for MPI functions, default instrumentation to catch
the msg tags, etc.
Removed the default instrumentation for DYNISTexecFailed on the exit point
for exec; this was always being called, even when exec worked, due to how
AIX handles exec.  This should make exec work now.