schendel [Thu, 23 Aug 2001 14:49:49 +0000 (14:49 +0000)]
make_Nan(), implemented now in pdRate.C, hopefully can go away soon with
conversion of the visis to use new time and sample value types
schendel [Thu, 23 Aug 2001 14:44:52 +0000 (14:44 +0000)]
initialize graph data to NaN;
fixed smoothing code so that NaN data values aren't taken into account in
smoothing, was causing initial graph points to be to small (and rise from
close to zero) when smoothed
schendel [Thu, 23 Aug 2001 14:44:51 +0000 (14:44 +0000)]
changed use of visi_DataValues so specific bucket values to be returned
are indicated;
reorganized in various places
schendel [Thu, 23 Aug 2001 14:44:50 +0000 (14:44 +0000)]
changed visi_DataValues so instead of all datagrid bucket values being
returned, only specified bucket values are returned;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
schendel [Thu, 23 Aug 2001 14:44:49 +0000 (14:44 +0000)]
store the initial actual value for the metric;
made some inline functions non-inline because of size;
changed Values function so instead of all datagrid bucket values being
returned, only specified bucket values are returned;
passing metric type into functions for metric type specific handling;
changed method to get data for all of the buckets;
schendel [Thu, 23 Aug 2001 14:44:48 +0000 (14:44 +0000)]
made some inline functions non-inline because of size;
adjusted datagrid cell Value function so it still returns the actual value
for SampledFunction type of metrics and the normalized value for
EventCounter metrics, the implementation needs to be changed since the
format of the histogram has been changed so that the change in sample
value (instead of the actual value) is stored for each bucket for
SampledFunction metrics;
uses the initial actual value for the metric
schendel [Thu, 23 Aug 2001 14:44:46 +0000 (14:44 +0000)]
changed visi_DataValues so instead of all datagrid bucket values being
returned, only specified bucket values are returned
schendel [Thu, 23 Aug 2001 14:44:42 +0000 (14:44 +0000)]
added explicit template instantiation for new aggregation code
schendel [Thu, 23 Aug 2001 14:44:41 +0000 (14:44 +0000)]
created a maxSample constant of type pdSample
schendel [Thu, 23 Aug 2001 14:44:40 +0000 (14:44 +0000)]
added NaN constant of type pdRate; initialize to NaN by default;
add ability to print out "NaN" in output operator for pdRate
schendel [Thu, 23 Aug 2001 14:44:38 +0000 (14:44 +0000)]
remove global field from histogram class;
first step in removal of metric style field;
fixed so flushUnsentBuckets sets the lastBinSent;
keep track of initial actual value so that current currentActualValue can
be calculated;
schendel [Thu, 23 Aug 2001 14:44:36 +0000 (14:44 +0000)]
the rewrite of the aggregation code
schendel [Thu, 23 Aug 2001 14:44:35 +0000 (14:44 +0000)]
initialize to NaN by default; created a maxSample constant of type pdSample
schendel [Thu, 23 Aug 2001 14:44:34 +0000 (14:44 +0000)]
added NaN constant of type pdRate; initialize to NaN by default
schendel [Thu, 23 Aug 2001 14:44:33 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code;
added members to turn on and off the debug streams
schendel [Thu, 23 Aug 2001 14:44:32 +0000 (14:44 +0000)]
pulled metric style declaration out of hist.h into seperate file
schendel [Thu, 23 Aug 2001 14:44:31 +0000 (14:44 +0000)]
add cvs id line; first step in removal of metric style field;
remove global field from histogram class;
keep track of initial actual value so that current currentActualValue can
be calculated;
schendel [Thu, 23 Aug 2001 14:44:29 +0000 (14:44 +0000)]
aggregation defines which can be included without importing full
aggregation header file
schendel [Thu, 23 Aug 2001 14:44:28 +0000 (14:44 +0000)]
not using, but added in case someone needs in the future
schendel [Thu, 23 Aug 2001 14:44:24 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code;
schendel [Thu, 23 Aug 2001 14:44:22 +0000 (14:44 +0000)]
removed redundant setting of the initial daemon start time
schendel [Thu, 23 Aug 2001 14:44:20 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code;
set initial start time for metrics from continue callback;
first step in removal of metric style field;
reconcile MT and non-MT checking of top level mdn type;
added on ostream<< function for a metricDefinitionNode;
set initial start time for metrics;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
add ability to update aggregation intervals;
reorganize updateValue and aggregation of levels;
schendel [Thu, 23 Aug 2001 14:44:17 +0000 (14:44 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code;
reorganized internal metrics;
removed passing of node weight and internal node indicator when passing
sample data from daemon to nfront-end;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
changed internal metric's member metricDefinitonNode field to be a top
level mdn type, so will work with sendInitialActualValue;
reconcile MT and non-MT checking of top level mdn type;
clean up metric completion in regards to final metric samples being sent;
updated to use new Vector erase function;
removed compiler warning;
set initial start time for metrics from continue callback;
process::continueProc(); set initial start time for metrics;
added on ostream<< function for a metricDefinitionNode;
add ability to update aggregation intervals;
reorganize updateValue and aggregation of levels;
schendel [Thu, 23 Aug 2001 14:44:16 +0000 (14:44 +0000)]
removed cvs log lines
schendel [Thu, 23 Aug 2001 14:44:15 +0000 (14:44 +0000)]
first step in removal of metric style field; remove compiler warning;
changed aggregation classes and implementation and updated clients to use
new aggregation code;
schendel [Thu, 23 Aug 2001 14:44:14 +0000 (14:44 +0000)]
remove compiler warning
schendel [Thu, 23 Aug 2001 14:44:13 +0000 (14:44 +0000)]
removed cvs log lines;
created consistent metric update value functions;
changed aggregation classes and implementation and updated clients to use
new aggregation code;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
schendel [Thu, 23 Aug 2001 14:44:12 +0000 (14:44 +0000)]
created consistent metric update value functions;
reorganized in internal metrics
changed aggregation classes and implementation and updated clients to use
new aggregation code;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
schendel [Thu, 23 Aug 2001 14:44:10 +0000 (14:44 +0000)]
changed bucket_width internal metric to sampling_rate;
reorganized internal metrics; first step in removal of metric style field;
schendel [Thu, 23 Aug 2001 14:44:08 +0000 (14:44 +0000)]
changed bucket_width internal metric to sampling_rate;
reorganized internal metrics;
first step in removal of metric style field;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
schendel [Thu, 23 Aug 2001 14:44:06 +0000 (14:44 +0000)]
include additional header file
schendel [Thu, 23 Aug 2001 14:44:05 +0000 (14:44 +0000)]
remove compiler warning; include additional header file
schendel [Thu, 23 Aug 2001 14:44:04 +0000 (14:44 +0000)]
remove compiler warning; add ability to update aggregation intervals;
removed unnecessary code;
schendel [Thu, 23 Aug 2001 14:44:01 +0000 (14:44 +0000)]
first step in removal of metric style field; cleaned up in various ways
changed aggregation classes and implementation and updated clients to use
new aggregation code; removed unneeded friend function declarations;
created consistent metric update value functions
schendel [Thu, 23 Aug 2001 14:43:59 +0000 (14:43 +0000)]
added ability to register a callback to be called when calling
process::continueProc()
schendel [Thu, 23 Aug 2001 14:43:58 +0000 (14:43 +0000)]
updated DEPENDS file to reflect include file changes
schendel [Thu, 23 Aug 2001 14:43:55 +0000 (14:43 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code; removed unneeded friend function declarations;
deleted aggregation operator aggAvg
schendel [Thu, 23 Aug 2001 14:43:54 +0000 (14:43 +0000)]
fixed bug from my previous commit, where I was translating NaN values into
0 values when transferring samples between front-end and visis, now NaN
values are preserved;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value
schendel [Thu, 23 Aug 2001 14:43:47 +0000 (14:43 +0000)]
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
for sampleFunction metrics, reconstructing each buckets actual value by
keeping a running total (integrating) of the samples
schendel [Thu, 23 Aug 2001 14:43:46 +0000 (14:43 +0000)]
reorganized sample data histogram callback function;
remove global field from histogram class;
add intelligence to know what to use for an aggregation interval;
schendel [Thu, 23 Aug 2001 14:43:44 +0000 (14:43 +0000)]
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
schendel [Thu, 23 Aug 2001 14:43:42 +0000 (14:43 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code;
removed unneeded friend function declarations;
added ability for a metricInstance to know whether an initialActualValue
has been sent on a perfStream;
remove global field from histogram class;
reorganized sample data histogram callback function;
added intelligence to know what to use for an aggregation interval;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
reorganized sample data histogram callback function;
first step in removal of metric style field; update various static member
schendel [Thu, 23 Aug 2001 14:43:41 +0000 (14:43 +0000)]
remove global field from histogram class;
changed aggregation classes and implementation and updated clients to use
new aggregation code; reorganized sample data histogram callback function;
updated to use new Vector erase function;
added ability for a metricInstance to know whether an initialActualValue
has been sent on a perfStream; first step in removal of metric style
field;
cleaned up function names and implementation of daemon's sending the time
it started to the front-end;
schendel [Thu, 23 Aug 2001 14:43:40 +0000 (14:43 +0000)]
first step in removal of metric style field; update various static member
definitions;
remove global field from histogram class;
cleaned up function names and implementation of daemon's sending the time
it started to the front-end;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
schendel [Thu, 23 Aug 2001 14:43:38 +0000 (14:43 +0000)]
cleaned up function names and implementation of daemon's sending the time
it started to the front-end;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
cleaned up calculation of network delay time, now take multiple samples
of network delay time and use the average of these samples;
reorganized batchSampleDataCallback;
schendel [Thu, 23 Aug 2001 14:43:37 +0000 (14:43 +0000)]
cleaned up function names and implementation of daemon's sending the time
it started to the front-end;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value;
cleaned up calculation of network delay time, now take multiple samples
of network delay time and use the average of these samples;
reorganized batchSampleDataCallback;
removed passing of node weight and internal node indicator when passing
sample data from daemon to front-end;
changed aggregation classes and implementation and updated clients to use
new aggregation code;
schendel [Thu, 23 Aug 2001 14:43:35 +0000 (14:43 +0000)]
cleaned up function names and implementation of daemon's sending the time
it started to the front-end
schendel [Thu, 23 Aug 2001 14:43:34 +0000 (14:43 +0000)]
changed aggregation classes and implementation and updated clients to use
new aggregation code;
added ability for a metricInstance to know whether an initialActualValue
has been sent on a perfStream
schendel [Thu, 23 Aug 2001 14:43:32 +0000 (14:43 +0000)]
removed passing of node weight and internal node indicator when passing
sample data from daemon to front-end;
cleaned up function names and implementation of daemon's sending the time
it started to the front-end;
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value
schendel [Thu, 23 Aug 2001 14:43:31 +0000 (14:43 +0000)]
changed so initial actual value is sent in addition to the change in
sampling value data, which allows actual value at any point to be
reconstructed by integrating across change in sample value and adding
initial actual value
schendel [Thu, 23 Aug 2001 14:43:29 +0000 (14:43 +0000)]
fixed a bug in a previous commit which caused NT to not compile
schendel [Thu, 23 Aug 2001 14:43:28 +0000 (14:43 +0000)]
reorganized some paradyn specific code
schendel [Thu, 23 Aug 2001 14:43:24 +0000 (14:43 +0000)]
changed MACRO into an inline function; added ability to register a callback
to be called when calling process::continueProc()
schendel [Thu, 23 Aug 2001 14:43:22 +0000 (14:43 +0000)]
reorganized internal metrics; changed MACRO into an inline function;
removed compiler warning; created consistent metric update value functions;
added ability to register a callback to be called when calling
process::continueProc()
schendel [Thu, 23 Aug 2001 14:43:20 +0000 (14:43 +0000)]
changed MACRO into an inline function
schendel [Thu, 23 Aug 2001 14:43:18 +0000 (14:43 +0000)]
added ability to register a callback to be called when calling
process::continueProc()
schendel [Thu, 23 Aug 2001 14:43:17 +0000 (14:43 +0000)]
removed compiler warning; reorganized internal metrics
schendel [Thu, 23 Aug 2001 14:43:14 +0000 (14:43 +0000)]
removed compiler warning
schendel [Thu, 23 Aug 2001 14:43:12 +0000 (14:43 +0000)]
added members to turn on and off the debug streams
schendel [Thu, 23 Aug 2001 14:43:11 +0000 (14:43 +0000)]
removed compiler warning; added a member which removes (erase) an element
schendel [Thu, 23 Aug 2001 14:43:09 +0000 (14:43 +0000)]
made default initialization of timeLength to be in uninitialized state
added additional timeStamp constants
schendel [Thu, 23 Aug 2001 14:43:08 +0000 (14:43 +0000)]
added const version of index operator
schendel [Thu, 23 Aug 2001 14:36:02 +0000 (14:36 +0000)]
added const version of index operator
bernat [Wed, 22 Aug 2001 18:26:54 +0000 (18:26 +0000)]
You know, "for (int i; i < foo; i++)" isn't really a wise idea.
Sigh.
bernat [Wed, 22 Aug 2001 01:31:28 +0000 (01:31 +0000)]
Fixed problem with reading a zero-length data segment.
bernat [Mon, 20 Aug 2001 22:23:46 +0000 (22:23 +0000)]
aix.C: Check all running threads for a given breakpoint address instead
of an arbitrarily picked one.
sharedobject.*: continuing name updates
bernat [Mon, 20 Aug 2001 19:59:04 +0000 (19:59 +0000)]
Changed the symtab (Image class) function lookup methods. Function calls
were changed to match the new names.
bernat [Mon, 20 Aug 2001 19:58:25 +0000 (19:58 +0000)]
Changed a loop iterator from "int" to "unsigned int", the same as the
value it was compared with.
bernat [Wed, 15 Aug 2001 14:45:35 +0000 (14:45 +0000)]
Added a check to prevent reading a non-existent string pool (which would
cause parsing to fail).
chadd [Fri, 10 Aug 2001 18:55:28 +0000 (18:55 +0000)]
This fixes a bug with the Paradynd NT build
chadd [Thu, 9 Aug 2001 15:06:14 +0000 (15:06 +0000)]
This commit fixes the bugs introduced into
paradyn by the Win2k and WinCE commits.
--inclusion of MapSymbols in the Win2K Makefile
--adds DLLMain() to RTinst.c so paradyn works on win2k
gurari [Wed, 8 Aug 2001 18:58:16 +0000 (18:58 +0000)]
Undo the #ifdef's from the my commit.
gurari [Wed, 8 Aug 2001 18:50:40 +0000 (18:50 +0000)]
Do deferred relocation and instrumentation for Paradyn only.
chadd [Tue, 7 Aug 2001 20:49:01 +0000 (20:49 +0000)]
This commit fixes c++ style comments to c style comments in the listed
files
dyninstAPI_RT/h/dyninstAPI_RT.h
dyninstAPI_RT/src/RTcommon.c
dyninstAPI_RT/src/RTheap.c
common/h/Types.h
gurari [Tue, 7 Aug 2001 17:01:19 +0000 (17:01 +0000)]
I've changed function relocation so that it dynamically allocates a buffer for
copying a function into, rather than using a statically allocated buffer.
gurari [Mon, 6 Aug 2001 23:22:53 +0000 (23:22 +0000)]
Made cosmetic changes to handling deferred function relocation and
instrumentation.
gurari [Mon, 6 Aug 2001 23:21:59 +0000 (23:21 +0000)]
Added handling of set o7 and tail call optimization LocalAlterations at the
same location.
buck [Fri, 3 Aug 2001 19:08:24 +0000 (19:08 +0000)]
Changed handleIfDueToSharedObjectMapping to cause a return from the
r_brk routine by modifying registers to emulate a ret instruction,
rather than by moving the program counter where we believe a ret
instruction to be.
chadd [Wed, 1 Aug 2001 15:39:49 +0000 (15:39 +0000)]
This commit provides code for the Windows CE 3.0 Pocket PC
platform (for MIPS based devices).
A core/dyninstAPI/mips-unknown-wince2.11
A core/dyninstAPI/h/baseTrampTemplate.h
A core/dyninstAPI/h/remoteDevice.h
A core/dyninstAPI/src/asmExterns.h
A core/dyninstAPI/src/remoteDevice.C
A core/dyninstAPI/src/deviceStructs.h
A core/dyninstAPI/src/MapSymbols.C
A core/dyninstAPI/src/MapSymbols.h
A core/dyninstAPI/src/wincetypes.h
A core/dyninstAPI/src/w32CONTEXT.h
A core/dyninstAPI_RT/mips-unknown-wince2.11
A core/dyninstAPI/mips-unknown-wince2.11/helper
A core/dyninstAPI/mips-unknown-wince2.11/helper/Makefile
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.cpp
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcp
A core/dyninstAPI/mips-unknown-wince2.11/helper/CE-mipsasm.S
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcw
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcl
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vcb
A core/dyninstAPI/mips-unknown-wince2.11/helper/DyninstClient.vco
A core/dyninstAPI/mips-unknown-wince2.11/depends
A core/dyninstAPI/mips-unknown-wince2.11/Makefile
A core/dyninstAPI_RT/mips-unknown-wince2.11/Makefile
A core/dyninstAPI_RT/mips-unknown-wince2.11/depends
M core/dyninstAPI/h/BPatch.h
M core/dyninstAPI/h/BPatch_Set.h
M core/dyninstAPI/h/BPatch_dll.h
M core/dyninstAPI/i386-unknown-nt4.0/Makefile
M core/dyninstAPI/src/AddressHandle-mips.C
M core/dyninstAPI/src/BPatch.C
M core/dyninstAPI/src/BPatch_flowGraph.C
M core/dyninstAPI/src/BPatch_module.C
M core/dyninstAPI/src/BPatch_templates.C
M core/dyninstAPI/src/BPatch_thread.C
M core/dyninstAPI/src/CodeView.h
M core/dyninstAPI/src/Object-nt.C
M core/dyninstAPI/src/Object-nt.h
M core/dyninstAPI/src/Object.h
M core/dyninstAPI/src/arch-mips.h
M core/dyninstAPI/src/arch.h
M core/dyninstAPI/src/ast.C
M core/dyninstAPI/src/ast.h
M core/dyninstAPI/src/dynamiclinking.h
M core/dyninstAPI/src/inst-mips.C
M core/dyninstAPI/src/inst-winnt.C
M core/dyninstAPI/src/instPoint.h
M core/dyninstAPI/src/os.h
M core/dyninstAPI/src/pdwinnt.C
M core/dyninstAPI/src/pdwinnt.h
M core/dyninstAPI/src/process.C
M core/dyninstAPI/src/process.h
M core/dyninstAPI/src/stats.C
M core/dyninstAPI/src/symtab.C
M core/dyninstAPI/src/symtab.h
M core/dyninstAPI/tests/src/test_util.C
M core/dyninstAPI/tests/src/test_util.h
M core/dyninstAPI_RT/h/dyninstAPI_RT.h
M core/dyninstAPI_RT/src/RTcommon.c
M core/dyninstAPI_RT/src/RTheap.c
M core/dyninstAPI_RT/src/RTwinnt.c
M core/common/h/Types.h
M core/common/h/fraction.h
M core/common/h/headers.h
M core/common/h/int64iostream.h
M core/common/h/ntHeaders.h
M core/common/src/String.C
M core/common/src/Time.C
M core/common/src/Timer.C
M core/common/src/pathName.C
M core/common/src/timing.C
gurari [Tue, 31 Jul 2001 19:10:24 +0000 (19:10 +0000)]
Added a few lines to facilitate the removal of a metricDefinitionNode, so
an assertion would not fail.
gurari [Mon, 30 Jul 2001 22:28:04 +0000 (22:28 +0000)]
Insert is no longer called called from anywhere.
gurari [Mon, 30 Jul 2001 22:27:21 +0000 (22:27 +0000)]
Change call to Vector::insert to call to Vector::push_back.
gurari [Fri, 27 Jul 2001 21:02:49 +0000 (21:02 +0000)]
Just cosmetic changes to my previous commit.
gurari [Fri, 27 Jul 2001 19:42:31 +0000 (19:42 +0000)]
This commit changes the way we match library names when looking for a
function in a specified shared object. Instead of having a wildcard at the
end of the library name, which I initially used so we could get around
version numbers, we now just ignore the version number when checking for a
match. Thus, in order to find a function in libm, one needs to specify
libm.so, i.e. the extension .so, .a, etc must be explicit. Specifying the
version number as well will work, but add does nothing, since the
version number will be ignored when the check for a match is made.
gurari [Thu, 26 Jul 2001 16:43:44 +0000 (16:43 +0000)]
I've updated the findOneFunction(string name) and
findOneFunctionInAll(string name) functions of process.C so that a shared
object can be specified when looking for a function. The so is
specified by prefixing the input parameter "name" with the name of the
shared object followed by a "/" e.g. libm.so/sqrt. The input "name" then
get's split into a lib_name and func_name, e.g. lib_name = libm.so,
func_name = sqrt by iterating over the characters in "name" BACKWORDS from
the LAST character of "name". The find functions then search the named so
for the function and return NULL if the function was not found.
If no lib_name is specified, i.e. "name" = sqrt, then the find functions
revert to their old behavior which is to first search the executable for
the function and then iterate over the so's, searching each in turn.
shergali [Mon, 23 Jul 2001 18:27:44 +0000 (18:27 +0000)]
Removed compiler warning that was generated by the prettyName and
symTabName functions in the function_base object.
gurari [Mon, 23 Jul 2001 15:40:12 +0000 (15:40 +0000)]
Removed several comiler warnings.
gurari [Fri, 20 Jul 2001 21:38:56 +0000 (21:38 +0000)]
This commit clears an assertion failure for MT paradyn. When I inserted
the code so that paradyn would retry relocating a function at a later
time (after it couldn't relocate the function because it was executing
inside it), I didn't make the corresponding changes in the code for MT
paradyn.
gurari [Fri, 20 Jul 2001 19:45:57 +0000 (19:45 +0000)]
Fixes a bug where some two byte jumps were not having their jump offsets
updated correctly during relocation. Namely, the code for updating the
displacement:
instr++; // instr is a pointer to an instruction
instr++;
*((char *) instr) = (char) newOffset; // set the jump's displacement
was not changing the jump displacement because the jump instruction is
two bytes long and the second instr++ walks us past the end of the
instruction. Therefore the second instr++ was removed.
bernat [Thu, 19 Jul 2001 14:43:37 +0000 (14:43 +0000)]
Re-added the parameter.
bernat [Wed, 18 Jul 2001 20:39:12 +0000 (20:39 +0000)]
Cleanup
bernat [Wed, 18 Jul 2001 20:35:07 +0000 (20:35 +0000)]
Added the constant ADDR_NULL for the Address type. Equivalent to 0/NULL.
bernat [Wed, 18 Jul 2001 20:34:42 +0000 (20:34 +0000)]
symtab.h: removed a parameter name to get rid of a compiler warning.
The parameter is commented out.
pdThread.h: replaced 0 with ADDR_NULL
schendel [Wed, 18 Jul 2001 16:45:21 +0000 (16:45 +0000)]
fix so SampledFunctions are done in a non-proportional way and actual
samples values are used as opposed to deltas of sample values
bernat [Wed, 18 Jul 2001 13:29:13 +0000 (13:29 +0000)]
Removed extraneous debugging info.
bernat [Tue, 17 Jul 2001 22:33:07 +0000 (22:33 +0000)]
Added a new build option for AIX. Defining USES_LIB_TEXT_HEAP in the
top level make.config will cause the Paradyn runtime library to be linked
with a library containing a megabyte of free space. We use this for
instrumentation of other shared libraries. Add another one to the "we
do the best we can and die if we can't" list.
Also cleaned up pdThread.h to get rid of some build warnings. NULL != 0,
by the way.
shergali [Sat, 14 Jul 2001 03:43:31 +0000 (03:43 +0000)]
Added an extra comment into symtab.h to explain a particular assert
statment. Modified symtab.C to fix silly NT compiler error.
buck [Fri, 13 Jul 2001 19:33:58 +0000 (19:33 +0000)]
Added support for types other than "int" to BPatch_thread::malloc.
shergali [Thu, 12 Jul 2001 21:35:21 +0000 (21:35 +0000)]
This change allows the parsing of multiple symbol names for a given address
The function base object is relatively the same, except now the names are
stored in a vector and the functions that previously just returned the
symbol name we stored, now simply return the first symbol we found. There
are also functions for grabbing the name vector as well as for adding
names to the vector.
shergali [Thu, 12 Jul 2001 21:28:01 +0000 (21:28 +0000)]
This