From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <2826377734a9d28f41200e3b7152681c@terzarima.net> To: 9fans@cse.psu.edu Subject: Re: [9fans] profiling From: Charles Forsyth In-Reply-To: <0cd70fca44c93d37b131ce68cb0ab810@plan9.bell-labs.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ubykocizvupewcmpdpvingqjtl" Date: Tue, 17 Feb 2004 23:20:29 +0000 Topicbox-Message-UUID: e8e35d24-eacc-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-ubykocizvupewcmpdpvingqjtl Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit it's fine at home. my guess is it's because in the office the the top o' the stack format differs twixt library and kernel. i suspect _tos->cyclefreq isn't a valid reference for that version of the kernel, even though the libraries are new. i'll update the floppy and reboot the office machine when i get back in tomorrow. --upas-ubykocizvupewcmpdpvingqjtl Content-Type: message/rfc822 Content-Disposition: inline Received: from mail.cse.psu.edu ([130.203.4.6]) by lavoro; Tue Feb 17 18:35:32 GMT 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id A1C9519FA3; Tue, 17 Feb 2004 13:34:16 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 5840F19FB9; Tue, 17 Feb 2004 13:34:12 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id D24DB19F91; Tue, 17 Feb 2004 13:33:27 -0500 (EST) Received: from plan9.cs.bell-labs.com (plan9.bell-labs.com [204.178.31.2]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7201019C93 for <9fans@cse.psu.edu>; Tue, 17 Feb 2004 13:33:26 -0500 (EST) Message-ID: <0cd70fca44c93d37b131ce68cb0ab810@plan9.bell-labs.com> From: David Presotto To: 9fans@cse.psu.edu Subject: Re: [9fans] profiling In-Reply-To: <9e616fb26ccca7ac477eeb4e934dd091@vitanuova.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-ybfctyseiyoypifwtqeohuijma" Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 17 Feb 2004 13:33:23 -0500 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.63 X-Spam-Level: This is a multi-part message in MIME format. --upas-ybfctyseiyoypifwtqeohuijma Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit I just did from a system built from sources and it worked fine. --upas-ybfctyseiyoypifwtqeohuijma Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Tue Feb 17 11:55:35 EST 2004 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Feb 17 11:55:32 EST 2004 Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id E859C19FBE; Tue, 17 Feb 2004 11:55:19 -0500 (EST) Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.4.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 023E519FBC; Tue, 17 Feb 2004 11:55:14 -0500 (EST) X-Original-To: 9fans@cse.psu.edu Delivered-To: 9fans@cse.psu.edu Received: by mail.cse.psu.edu (CSE Mail Server, from userid 60001) id DA97B19FBB; Tue, 17 Feb 2004 11:54:41 -0500 (EST) Received: from rapido.vitanuova.com (unknown [62.254.170.97]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 0A42C19FB5 for <9fans@cse.psu.edu>; Tue, 17 Feb 2004 11:54:40 -0500 (EST) Message-ID: <9e616fb26ccca7ac477eeb4e934dd091@vitanuova.com> To: 9fans@cse.psu.edu From: rog@vitanuova.com In-Reply-To: <2B944522-6164-11D8-A6FF-000A95B984D8@mightycheese.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] profiling Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.11 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 17 Feb 2004 16:59:35 0000 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on psuvax1.cse.psu.edu X-Spam-Status: No, hits=0.3 required=5.0 tests=NO_REAL_NAME autolearn=no version=2.63 X-Spam-Level: has anyone used the profiler (not tprof) recently? i get a suicide when trying to run the simplest programs, and was wondering whether it's a local problem or not. e.g. % cat tst.c #include #include void main(int argc, char **argv) { } % 8c -c tst.c % 8l -p tst.8 % 8.out 8.out 863: suicide: sys: trap: fault read addr=0x7ffff014 pc=0x000017c1 % db 863 386 binary page fault /sys/src/libc/port/profile.c:235 _profmain+1d/ REP MOVSL (SI),(DI) $C _profmain() /sys/src/libc/port/profile.c:229 called from _mainp+22 /sys/src/libc/386/main9p.s:13 _profmain.n/ 0x7d0 _profmain..safe/ 0x0 _profmain.f/ 0x0 _profmain.ename/ 0x0 --upas-ybfctyseiyoypifwtqeohuijma-- --upas-ubykocizvupewcmpdpvingqjtl--