Hi Artem, Pekka Enberg wrote:On Tue, Apr 1, 2008 at 11:51 AM, Artem Bityutskiy <dedekind@yandex.ru> wrote: Yeah, perhaps that's a sign that you're doing it wrong? You currently have 430 separate debug printks sprinkled around in UBIFS. The way to reduce that is to move as much logging as possible higher up the call chain and dump as much information as you can there. That's what ext2_error() does, for example. So I'm not opposed to a ubifs_error() or ubifs_warning() even if that's used in a controlled fashion. The way you do debugging checks now is totally ad hoc and IMHO not acceptable to the mainline kernel. And like I said, if you need _tracing_ you might want to look at Ingo's ftrace or some other similar tracing infrastructure and use that. The upside of it is that you can basically have it enabled at run-time too. Pekka Enberg wrote: On Tue, Apr 1, 2008 at 11:51 AM, Artem Bityutskiy <dedekind@yandex.ru> wrote: So perhaps you could just separate those heavy-weight options and have all others under CONFIG_UBIFS_DEBUG? Pekka --
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Con Kolivas | Re: -mm merge plans for 2.6.23 |
| Jens Axboe | Re: [00/17] Large Blocksize Support V3 |
| Thomas Gleixner | Re: Linux 2.6.21-rc4 |
git: | |
| Johannes Schindelin | Re: [PATCH] RFC: git lazy clone proof-of-concept |
| Dan McGee | Re: I don't want the .git directory next to my code. |
| Wink Saville | Resolving conflicts |
| walt | git versus CVS (versus bk) |
| BILES, GREG THOMAS | mtools |
| pete cervasio | Re: Splitting comp.os.linux |
| Robert L. Mcmillin | Re: Splitting comp.os.lin |
| Lars Wirzenius | Re: Splitting comp.os.linux |
| Richard Wilson | OpenBSD in the webcomic XKCD |
| David Newman | setting dscp or tos bits |
| Richard Stallman | Real men don't attack straw men |
| Edwin Eyan Moragas | poll(2) vs kqueue(2) performance |
