* About multiple queries to control using $DBGMT/dynamic_debug/control
@ 2012-08-22 11:42 Jianpeng Ma
2012-08-24 18:19 ` jbaron
0 siblings, 1 reply; 2+ messages in thread
From: Jianpeng Ma @ 2012-08-22 11:42 UTC (permalink / raw)
To: jbaron; +Cc: linux-kernel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="gb2312", Size: 605 bytes --]
Hi,
I used the $DBGMT/dynamic_debug/control to control printing debuginfo.But When i wote multiple queries which has at least one didn't match,
the result is ok which no error can return.
So i think i wrote correct queries.But until using dmesg, i only found error.
And if parm verbose of dynamic_debug is zero, i can't find the result by dmesg.
So i think it's not convenient.
If it did not found any query,it should return error.
Thanks!ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±þG«éÿ{ayº\x1dÊÚë,j\a¢f£¢·hïêÿêçz_è®\x03(éÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?¨èÚ&£ø§~á¶iOæ¬z·vØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?I¥
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: About multiple queries to control using $DBGMT/dynamic_debug/control
2012-08-22 11:42 About multiple queries to control using $DBGMT/dynamic_debug/control Jianpeng Ma
@ 2012-08-24 18:19 ` jbaron
0 siblings, 0 replies; 2+ messages in thread
From: jbaron @ 2012-08-24 18:19 UTC (permalink / raw)
To: Jianpeng Ma; +Cc: linux-kernel, jim.cromie
On Wed, Aug 22, 2012 at 07:42:14PM +0800, Jianpeng Ma wrote:
> Hi,
> I used the $DBGMT/dynamic_debug/control to control printing debuginfo.But When i wote multiple queries which has at least one didn't match,
> the result is ok which no error can return.
> So i think i wrote correct queries.But until using dmesg, i only found error.
> And if parm verbose of dynamic_debug is zero, i can't find the result by dmesg.
> So i think it's not convenient.
> If it did not found any query,it should return error.
>
> Thanks!
Hi,
You can verify what changes have occured by looking in the
$DBGMT/dynamic_debug/control file, and verifying what statements have
been matched. For example, we add a 'p' when printing is enabled.
Does that address your concern?
As these debug statements come and go, I think I'd prefer not to error
out in this case.
Thanks,
-Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-24 18:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-22 11:42 About multiple queries to control using $DBGMT/dynamic_debug/control Jianpeng Ma
2012-08-24 18:19 ` jbaron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.