From: Kent Fredric <kentfredric@gmail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Introduce global dmalloc USE flag?
Date: Thu, 13 Jun 2013 14:00:59 +1200 [thread overview]
Message-ID: <CAATnKFCBcgLmR72z+Uf8erNsy6SvquRE8pisS8_-FU-uTkGyOw@mail.gmail.com> (raw)
In-Reply-To: <CAF1ZMEdTEh7Qxr9vsWc5JfkvT5zEGfasVr6P9Zpv4yqwd1Nypw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
On 13 June 2013 13:35, Dennis Lan (dlan) <dennis.yxun@gmail.com> wrote:
> HI ALL:
> Is it ok to introduce USE=dmalloc global flag? description as following
> "dmalloc - Enable debugging with the dmalloc library"
>
> current consumers:
> 1) net-fs/autofs
> 2) net-misc/directvnc
> 3) sci-biology/yass
>
> also
> 4) app-admin/conserver
> 5) net-nds/ypbind
> 6) net-fs/samba
> 7) net-analyzer/scli
> 8) net-analyzer/traceproto
> 6) net-misc/siproxd
>
> use dmalloc but controlled under USE=debug
>
> Dennis Lan
>
>
Questions for clarity:
1. I haven't used dmalloc before, what does this use flag do for me?
2. How does this use flag change the built binaries? does it:
a) make no user visible changes, but adds code instrumentation paths
which can only be seen/understood with a special visualiser
b) add output to TTY for the built binary? etc.
I'm not arguing against global USE for it, I'm just asking for a USE
description that is more meaningful.
ie, alternatives might be: "Add runtime debug output via the dmalloc
library" or "Add runtime instrumentation for the dmalloc debugger", or
something like that.
Because if it were case a), then I might be inclined to turn it on
arbitrarily ( depending on how much it impacts performance ), just in case
I happen to need it one day. But if it were case b), I'd be inclined not
to turn it on arbitrarily, because I can see that would be irritating =)
--
Kent
[-- Attachment #2: Type: text/html, Size: 1936 bytes --]
next prev parent reply other threads:[~2013-06-13 2:01 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-13 1:35 [gentoo-dev] Introduce global dmalloc USE flag? Dennis Lan (dlan)
2013-06-13 2:00 ` Kent Fredric [this message]
2013-06-13 5:05 ` Michał Górny
2013-06-20 18:34 ` Ian Stakenvicius
2013-06-22 7:48 ` Dennis Lan (dlan)
2013-06-24 8:54 ` Gilles Dartiguelongue
2013-06-24 9:05 ` Samuli Suominen
2013-06-24 10:37 ` Gilles Dartiguelongue
2013-06-24 10:47 ` Diego Elio Pettenò
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=CAATnKFCBcgLmR72z+Uf8erNsy6SvquRE8pisS8_-FU-uTkGyOw@mail.gmail.com \
--to=kentfredric@gmail.com \
--cc=gentoo-dev@lists.gentoo.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