Re: [PATCH RFC] btrfs-progs: Show backtrace on BUGs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 21, 2014 at 09:04:07PM +0900, Naohiro Aota wrote:
> "btrfs check" is still under heavy development and so there are some
> BUGs beging hit. "btrfs check" can be run on limited environment which
> lacks gdb to debug the abort in detail. If we could see backtrace, it
> will be easier to find a root cause of the BUG.

I like adding the backtraces, I'm only concerned about switching it on
by default. Please add a compile-time option to use the backtrace
enhanced macros or fallback to what's there right now. Also we'll
probably need a makefile switch to enable it, possibly with more
debugging options. The expected user of the backtraces are developers,
the end users should not see the bug_ons at all, in the long term.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux