From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org
Subject: some debug patches
Date: Thu, 26 Jan 2012 14:26:46 +0100 [thread overview]
Message-ID: <1327584413-23055-1-git-send-email-s.hauer@pengutronix.de> (raw)
Being forced to do debugging this morning I created some patches
to make this easier. initcall tracing now works with regular
debug() statements and not with LL debug functions anymore which
are not implemented for most architectures. Also, we do no
longer hang when an initcall fails which increases the chance
that the user gets some clue what went wrong.
Sascha Hauer (7):
console: remove unused function prototypes
kfifo: change kfifo_init to work with a preallocated fifo
console: make it work without malloc
ARM: panic on div 0
initcalls: do not hang if an initcall fails
startup: use regular debug statements in initcall debugging
Add dump_stack function
arch/arm/cpu/interrupts.c | 5 ++++
arch/arm/include/asm/barebox.h | 39 ++-----------------------------
arch/arm/lib/div0.c | 2 +-
common/console.c | 49 ++++++++++++++++++++++++++--------------
common/startup.c | 10 ++-----
include/common.h | 9 +++++++
include/console.h | 13 ----------
include/kfifo.h | 2 +-
lib/kfifo.c | 23 +++++++-----------
lib/vsprintf.c | 2 +
10 files changed, 65 insertions(+), 89 deletions(-)
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-01-26 13:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-26 13:26 Sascha Hauer [this message]
2012-01-26 13:26 ` [PATCH 1/7] console: remove unused function prototypes Sascha Hauer
2012-01-26 13:26 ` [PATCH 2/7] kfifo: change kfifo_init to work with a preallocated fifo Sascha Hauer
2012-01-26 13:26 ` [PATCH 3/7] console: make it work without malloc Sascha Hauer
2012-01-26 13:26 ` [PATCH 4/7] ARM: panic on div 0 Sascha Hauer
2012-01-26 13:26 ` [PATCH 5/7] initcalls: do not hang if an initcall fails Sascha Hauer
2012-01-26 13:26 ` [PATCH 6/7] startup: use regular debug statements in initcall debugging Sascha Hauer
2012-01-26 13:26 ` [PATCH 7/7] Add dump_stack function Sascha Hauer
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=1327584413-23055-1-git-send-email-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.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