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 --
| David Miller | Re: [Ksummit-2008-discuss] Fixing the Kernel Janitors project |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Mark Lord | Re: 2.6.25-rc8: FTP transfer errors |
| Kamalesh Babulal | Re: 2.6.24-rc8-mm1 |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Natalie Protasevich | [BUG] New Kernel Bugs |
| bcpa | Binkley/Rfmaill/Cnews scripts?.. |
| Dong Liu | Re: CXterm for LINUX |
| Rogier Wolff | Re: MIPS R3000 board to run Linux, anyone? |
| Theodore Ts'o | The patch to buffer.c seems to work! |
