Patch Name: PHCO_20918 Patch Description: s700_800 11.00 gprof(1) patch Creation Date: 00/05/11 Post Date: 00/05/18 Hardware Platforms - OS Releases: s700: 11.00 s800: 11.00 Products: N/A Filesets: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP ProgSupport.PROG-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP Automatic Reboot?: No Status: General Release Critical: No Category Tags: enhancement general_release Path Name: /hp-ux_patches/s700_800/11.X/PHCO_20918 Symptoms: PHCO_20918: gprof does not profile Shared Libraries. This patch includes the enhancement to gprof(1) to profile shared libraries. PHCO_14230: gprof dumps core while profiling 64bit executables Defect Description: PHCO_20918: gprof Needs to be Enhanced to Profile Shared Libraries. Resolution: A new library that collects call count and timing information of shared libraries at run time has been created. gprof(1) has been enhanced to read the new profile file dumped by the library to report a complete profile. Only a single shared library can be profiled. The man pages have been updated about the single shared library support. PHCO_14230: gprof should profile 64bit exexcutables SR: 8606129052 4701377176 Patch Files: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man1.Z/gprof.1 ProgSupport.PROG-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/ccs/bin/gprof what(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: /usr/share/man/man1.Z/gprof.1: None ProgSupport.PROG-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: /usr/ccs/bin/gprof: $Revision: 82.2.1.4 $ PATCH_11_00: gprof.o arcs.o dfn.o lookup.o calls.o p rintgprof.o printlist.o fixbounds.o 00/05/05 cksum(1) Output: ProgSupport.PAUX-ENG-A-MAN,fr=B.11.00, fa=HP-UX_B.11.00_32/64,v=HP: 825543987 3947 /usr/share/man/man1.Z/gprof.1 ProgSupport.PROG-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP: 437272373 57344 /usr/ccs/bin/gprof Patch Conflicts: None Patch Dependencies: None Hardware Dependencies: None Other Dependencies: None Supersedes: PHCO_14230 Equivalent Patches: None Patch Package Size: 90 KBytes Installation Instructions: Please review all instructions and the Hewlett-Packard SupportLine User Guide or your Hewlett-Packard support terms and conditions for precautions, scope of license, restrictions, and, limitation of liability and warranties, before installing this patch. ------------------------------------------------------------ 1. Back up your system before installing a patch. 2. Login as root. 3. Copy the patch to the /tmp directory. 4. Move to the /tmp directory and unshar the patch: cd /tmp sh PHCO_20918 5. Run swinstall to install the patch: swinstall -x autoreboot=true -x patch_match_target=true \ -s /tmp/PHCO_20918.depot By default swinstall will archive the original software in /var/adm/sw/save/PHCO_20918. If you do not wish to retain a copy of the original software, use the patch_save_files option: swinstall -x autoreboot=true -x patch_match_target=true \ -x patch_save_files=false -s /tmp/PHCO_20918.depot WARNING: If patch_save_files is false when a patch is installed, the patch cannot be deinstalled. Please be careful when using this feature. For future reference, the contents of the PHCO_20918.text file is available in the product readme: swlist -l product -a readme -d @ /tmp/PHCO_20918.depot To put this patch on a magnetic tape and install from the tape drive, use the command: dd if=/tmp/PHCO_20918.depot of=/dev/rmt/0m bs=2k Special Installation Instructions: None