From: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com>
To: grub-devel@gnu.org
Subject: How to enable MM debugging?
Date: Tue, 29 Nov 2016 16:52:11 +0300 [thread overview]
Message-ID: <583D880B.6070905@oracle.com> (raw)
Hi!
Does anybody use MM debugging? If so, what is the recommended/working
way of enabling it?
These steps do not work:
1. Run ./configure with '--enable-mm-debug'. It reports:
With memory debugging: Yes
2. Then build and install the binaries, and install the boot loader
3. Then set 'grub_mm_debug=1' in the grub's prompt.
grub> set grub_mm_debug=1
grub> insmod ofnet
grub>
During initialization, ofnet calls grub_malloc(), so I expect some debug
messages to be printed on 'insmod ofnet'.
Am I missing something, or is it a bug?
Thanks.
next reply other threads:[~2016-11-29 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-29 13:52 Stanislav Kholmanskikh [this message]
2016-11-29 14:17 ` How to enable MM debugging? Andrei Borzenkov
2016-11-29 14:38 ` Stanislav Kholmanskikh
2016-11-29 17:11 ` Andrei Borzenkov
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=583D880B.6070905@oracle.com \
--to=stanislav.kholmanskikh@oracle.com \
--cc=grub-devel@gnu.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).