| From | Jim Cromie <> | | Date | Tue, 28 Jun 2011 12:29:49 -0600 | | Subject | Re: [PATCH 02/11] dynamic_debug: trim source-path prefix from dynamic_debug/control |
| |
On Tue, Jun 28, 2011 at 4:08 AM, Bart Van Assche <bvanassche@acm.org> wrote: > On Tue, Jun 28, 2011 at 9:09 AM, Jim Cromie <jim.cromie@gmail.com> wrote: >> >> Skip past unchanging absolute source-path prefix to print a path >> thats relative to kernel source's root-dir. This makes the file >> easier to read without a wide screen. For example: >> >> kernel/freezer.c:128 [freezer]cancel_freezing - " clean up: %s\012"
> > The above will break the output generated for out-of-tree kernel > modules that use the dynamic debug facility. > > Bart. >
ack, yes.
I'll add a check to see prefix matches before skipping it. this will reduce efficiency slightly more, but its not a hot path.
thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|