home *** CD-ROM | disk | FTP | other *** search
/ vsiftp.vmssoftware.com / VSIPUBLIC@vsiftp.vmssoftware.com.tar / FREEWARE / FREEWARE40.ZIP / callmon / freeware_readme.txt < prev   
Text File  |  1996-08-08  |  3KB  |  2 lines

  1. <CALLMON, UTILITIES, Procedure Call Monitor for OpenVMS Alpha4CallMon is a low-level debug utility for developers.DWith CallMon, an application can monitor all calls to a selected setDof procedures, taken from any shareable image (including the variousOpenVMS run-time libraries).DThe calls are intercepted whether they are come from the applicationDor  from  the  OpenVMS  run-time libraries. For instance, if CallMonDintercepts all calls to LIB$GET_VM, the application will be notifiedDeach  time  LIB$GET_VM  is called either from the some module of theDapplication, from an OpenVMS library routine in some shareable image+or even from another routine in LIBRTL.EXE.DCallMon  is  especially useful to implement higher level tools whichDneed  to  monitor  the  activity of some library routines. A typicalDusage  of  CallMon  may  be  the  monitoring  of  the virtual memoryDallocation  (intercepting  calls  to  routines  like  LIB$GET_VM and
  2. LIB$FREE_VM).5To intercept a routine, the application must provide:?    - the name of the routine to intercept (a character string):    - the address of a user-written pre-processing routine;    - the address of a user-written post-processing routineDLater,  whenever  the  intercepted  routine is called, the followingsteps are taken:8    - the user-written pre-processing routine is called,1    - the original intercepted routine is called,9    - the user-written post-processing routine is called.DThe  user-written  procedures  have  access to the original argumentDlist and returned value. The interception can be activated, modifiedDand  deactivated  at any time. All hooks into the code are performed9"on the fly" in the virtual address space of the process.DInterface definition files are provided for the C and Ada languages.5However, CallMon can be used from any other language.DNote that CallMon is designed for OpenVMS Alpha only. CallMon uses aDlot  of features which are specific to the Alpha architecture and toDthe  structure  of OpenVMS on Alpha platforms. There is currently no%version of CallMon for VAX platforms.DThis  OpenVMS  Freeware  CD contains the version 1.0 of CallMon. You9will find the following items in the [CALLMON] directory:;    - CALLMON.PS : CallMon documentation in PostScript form*    - CALLMON.OLB : CallMon object library8    - CALLMON.H and CALLMONMSG.H : Interface files for C@    - CALLMON_.ADA and CALLMONMSG_.ADA : Interface files for AdaB    - [.SRC]*.* : CallMon source files (written in C and Macro-64)B    - CALLMON$RESIDENT.COM : Utility procedure (see documentation)DSeveral  example  programs  written in C and Ada are provided. TheirDsource  files are located in the subdirectory [.SRC]. The correspon-:ding executable images are provided in the main directory.$                        RELEASE FORM$                        ------------OpenVMS Freeware CD--------------------DEVELOPER RELEASE FORM:C        As the owner/developer of this software, I release it to beJ        included on the OpenVMS Freeware CD-ROM.  I expect no renumerancesJ        or payments for the use of this software from Digital or Digital's        customers.?                                        _______________________8                                        Thierry Lelegard