Re: [PATCH] cdrom: make debug logging rely on pr_debug and debugfs only.

From: Diego Elio PettenÃ
Date: Mon Aug 26 2019 - 10:52:07 EST


On Sun, Aug 25, 2019 at 11:13 PM Joe Perches <joe@xxxxxxxxxxx> wrote:
> > - cd_dbg(CD_OPEN, "entering register_cdrom\n");
> > + pr_debug("entering register_cdrom\n");
>
> debut output for function tracing can also be removed
> and ftrace used instead.

Oh, nice! I have never had to go this deep into a driver before, so
I'm pretty much an ftrace noob, but that pointer actually made the
whole debugging _much_ easier, too!

I'll send an updated patch series now that (thanks to that!) I managed
to make the device I'm fighting with work.