All of lore.kernel.org
 help / color / mirror / Atom feed
From: jbaron <jbaron@redhat.com>
To: Jianpeng Ma <majianpeng@gmail.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>, jim.cromie@gmail.com
Subject: Re: About multiple queries to control using $DBGMT/dynamic_debug/control
Date: Fri, 24 Aug 2012 14:19:40 -0400	[thread overview]
Message-ID: <20120824181939.GB6197@redhat.com> (raw)
In-Reply-To: <201208221942104377284@gmail.com>

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

      reply	other threads:[~2012-08-24 18:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-22 11:42 About multiple queries to control using $DBGMT/dynamic_debug/control Jianpeng Ma
2012-08-24 18:19 ` jbaron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120824181939.GB6197@redhat.com \
    --to=jbaron@redhat.com \
    --cc=jim.cromie@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=majianpeng@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.