Article View: comp.sys.amiga.tech
Article #7951SAS Lstat
From: Rik slaven
Date: Mon, 07 Jan 1991 19:00
Date: Mon, 07 Jan 1991 19:00
28 lines
1326 bytes
1326 bytes
Environment: SAS/Lattice C 5.10 Wb 1.3 SKsh 1.5 CFLAGS: -b0 -cfist -O -d1 -v Source: Source code exists in multiple files, two of which are in a separate directory. Some files contain functions defined as 'static'. Problem: When I use lprof and lstat, I get incorrect statistics for functions: namely, the output states that a function which I do not call is called 32 % of the time. Also, the output indicates that function 'x' is defined in file 'y', when in reality it is defined in file 'z'. Questions: 1. What's wrong? 2. Does all source need to reside in the same directory in order for lprof/lstat to work correctly? 3. Does all source need to reside in the same file in order for lprof/lstat to work correctly? 4. Will lprof/lstat report correctly with 'static' functions defined? Any help would be greatly appreciated. Rik Slaven
Technical Details
Message-ID:
<4950002@misty.boeing.com>Path:
arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!misty!slavenShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!misty!slaven From: slaven@misty.boeing.com (Rik slaven) Newsgroups: comp.sys.amiga.tech Subject: SAS Lstat Message-ID: <4950002@misty.boeing.com> Date: 7 Jan 91 19:00:29 GMT Organization: Boeing Commercial Airplane BCS Support Lines: 28