From: Nick Owens <mischief@9.offblast.org>
To: 9front@9front.org
Subject: Re: [9front] profiling bug on amd64
Date: Sun, 16 Feb 2014 22:18:33 -0800 [thread overview]
Message-ID: <20140217061833.GG25422@iota.offblast.org> (raw)
In-Reply-To: <20140217061131.GF25422@iota.offblast.org>
[-- Attachment #1: Type: text/plain, Size: 1736 bytes --]
related, acid can't seem to handle disassembing profiled functions which
have breakpoints set.
acid: bpset(lock)
acid: asm(lock)
lock 0x00000000002068f9 CALL _profin(SB)
lock+0x1 0x00000000002068fa JCC malloctopoolblock+0x13(SB)
lock+0x3 0x00000000002068fc <stdin>:64: (error) opcode: ??ffff??
acid: bpdel(lock)
acid: asm(lock)
lock 0x00000000002068f9 CALL _profin(SB)
lock+0x5 0x00000000002068fe SUBQ $0x20,SP
lock+0x9 0x0000000000206902 MOVQ BP,lk+0x0(FP)
lock+0xe 0x0000000000206907 CALL _tas(SB)
lock+0x13 0x000000000020690c CMPL AX,$0x0
lock+0x16 0x000000000020690f JNE lock+0x22(SB)
lock+0x18 0x0000000000206911 ADDQ $0x20,SP
lock+0x1c 0x0000000000206915 CALL _profout(SB)
lock+0x21 0x000000000020691a RET
lock+0x22 0x000000000020691b XORL CX,CX
lock+0x24 0x000000000020691d CMPL CX,$0x3e8
lock+0x2a 0x0000000000206923 MOVL CX,i+0x1c(SP)
lock+0x2e 0x0000000000206927 JGE lock+0x62(SB)
lock+0x30 0x0000000000206929 MOVQ lk+0x0(FP),BP
lock+0x35 0x000000000020692e CALL _tas(SB)
lock+0x3a 0x0000000000206933 CMPL AX,$0x0
lock+0x3d 0x0000000000206936 JNE lock+0x49(SB)
lock+0x3f 0x0000000000206938 ADDQ $0x20,SP
lock+0x43 0x000000000020693c CALL _profout(SB)
lock+0x48 0x0000000000206941 RET
lock+0x49 0x0000000000206942 XORL BP,BP
lock+0x4b 0x0000000000206944 CALL sleep(SB)
lock+0x50 0x0000000000206949 MOVL i+0x1c(SP),CX
lock+0x54 0x000000000020694d INCL CX
lock+0x56 0x000000000020694f CMPL CX,$0x3e8
lock+0x5c 0x0000000000206955 MOVL CX,i+0x1c(SP)
lock+0x60 0x0000000000206959 JLT lock+0x30(SB)
lock+0x62 0x000000000020695b XORL CX,CX
lock+0x64 0x000000000020695d CMPL CX,$0x3e8
lock+0x6a 0x0000000000206963 MOVL CX,i+0x1c(SP)
acid:
[-- Attachment #2: Type: application/pgp-signature, Size: 834 bytes --]
next prev parent reply other threads:[~2014-02-17 6:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-17 6:11 Nick Owens
2014-02-17 6:18 ` Nick Owens [this message]
2014-02-17 18:58 ` [9front] " Nick Owens
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=20140217061833.GG25422@iota.offblast.org \
--to=mischief@9.offblast.org \
--cc=9front@9front.org \
/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).