From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,d111c12e3f25cb6c,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,d111c12e3f25cb6c,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-09-08 21:04:53 PST Path: nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!newsfeed.pitt.edu!nntp.club.cc.cmu.edu!cantaloupe.srv.cs.cmu.edu!usenet@cs.cmu.edu From: snl@paneer.ndim.edrc.cmu.edu (Sean Levy) Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Subject: osf1 1.3: pixified prog doesn't write .Counts Date: 09 Sep 1994 03:21:57 GMT Organization: n-dim Group, Engineering Design Research Center, CMU Distribution: world Message-ID: Reply-To: snl@paneer.ndim.edrc.cmu.edu NNTP-Posting-Host: paneer.ndim.edrc.cmu.edu Xref: nntp.gmd.de comp.sys.dec:18136 comp.unix.osf.osf1:5242 i'm seeing some odd behavior and was wondering if anyone else had run across it. this is osf1 1.3 on a '400 (upgrading to any other version of osf1 is *not* an option until Transarc AFS runs on them). i've used pixie heavily in the past to profile my system. it's a wonderful tool. i've now added in support for multiple threads, and want to reprofile, since i'm seeing some oddly slow performance. i've tried what follows with code linked both -non_shared and -call_shared. everything is compiled with DEC cc -O2. i'm linking against -lpthreads -lmach and -lc_r (among quite a few other things...). when i run pixie on the resulting binary, it is perfectly happy, and produces a pixified binary and a .Addrs file. when i run the pixified binary, it fires up just fine, but when i exit, no .Counts file gets written. it is not the in-the-wrong-directory problem, i *know* i am calling exit(0), i've looked at everything i can, but the pixified program just reefuses to write a .Counts file. it is funcitoning normally otherwise, if a tad slower (usual pixified program behavior). the only thing i'm doing different from the past is that i'm linking against -lpthreads et al and am making threads calls (there are never less than three threads in my base system). i looked through the _guide to decthreads_, but could find no mention of special considerations for use with pixie. any clues? response by email would be preferred. tia, -- sean -- sean levy, n-dim group, edrc, cmu 5000 forbes ave., pittsburgh, pa, 15213 mime: snl@paneer.ndim.edrc.cmu.edu +1 412 268 {5215(vox),5229(fax),3372(secy)} url: http://paneer.ndim.edrc.cmu.edu:8888/~snl/Home.html prototype (n.) - something you intend to throw away but somehow never do.