9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Presotto <presotto@closedmind.org>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] profiling
Date: Tue, 17 Feb 2004 13:33:23 -0500	[thread overview]
Message-ID: <0cd70fca44c93d37b131ce68cb0ab810@plan9.bell-labs.com> (raw)
In-Reply-To: <9e616fb26ccca7ac477eeb4e934dd091@vitanuova.com>

[-- Attachment #1: Type: text/plain, Size: 63 bytes --]

I just did from a system built from sources and it worked fine.

[-- Attachment #2: Type: message/rfc822, Size: 2445 bytes --]

From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: [9fans] profiling
Date: Tue, 17 Feb 2004 16:59:35 0000
Message-ID: <9e616fb26ccca7ac477eeb4e934dd091@vitanuova.com>

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 <u.h>
#include <libc.h>
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

  parent reply	other threads:[~2004-02-17 18:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-17 14:26 [9fans] (no subject) David Presotto
2004-02-17 16:13 ` Rob Pike
2004-02-17 16:17   ` David Presotto
2004-02-17 16:29     ` Rob Pike
2004-02-17 16:59   ` [9fans] profiling rog
2004-02-17 18:29     ` rob pike, esq.
2004-02-17 18:33     ` David Presotto [this message]
2004-02-17 23:20       ` Charles Forsyth
2004-02-18  3:52   ` [9fans] (no subject) boyd, rounin
2004-02-17 21:25 ` C H Forsyth
2004-02-17 23:57 ` Charles Forsyth
2004-02-18  0:03   ` David Presotto
2004-02-18  6:58   ` 9nut
2004-02-18 16:56   ` rog

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0cd70fca44c93d37b131ce68cb0ab810@plan9.bell-labs.com \
    --to=presotto@closedmind.org \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).