Skip to contentSkip to conversation

About multiple queries to control using $DBGMT/dynamic_debug/control

DISCUSSION Jianpeng Ma 2 participants 2 messages Aug 22, 2012 – Aug 24, 2012

lore
Share & tools
lore
#0 lore raw

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�+壏煯壄�+%娝�遍荻w�簕.n�+壏{炳G珴�妠ay�蕠跈�,jf"穐殢飦�戧鐉_璁(殠娸"濟�m���G珴�⒏?櫒璀�&x忈秈O曟瑉窔v豝�m��� �鹅�⒏?朓�

#1 lore raw
Quoted 9 lines · Jianpeng Ma

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