From: "Denis V. Lunev" <den@openvz.org>
Cc: Olga Krishtal <okrishtal@parallels.com>,
Paolo Bonzini <pbonzini@redhat.com>,
qemu-devel@nongnu.org, Stefan Hajnoczi <stefanha@redhat.com>,
"Denis V. Lunev" <den@openvz.org>
Subject: [Qemu-devel] [PATCH v2 1/1] allow to enable all tracepoints via alias all
Date: Tue, 3 Nov 2015 20:03:19 +0300 [thread overview]
Message-ID: <1446570199-29893-1-git-send-email-den@openvz.org> (raw)
From: Olga Krishtal <okrishtal@parallels.com>
This will produce a lot of noise but could be usefull when we do this
for a shot perioud of time on customer side to examine unclear problem.
Signed-off-by: Olga Krishtal <okrishtal@parallels.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Stefan Hajnoczi <stefanha@redhat.com>
---
Changes from v1:
- proper mailing list targeted
trace/control.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/trace/control.c b/trace/control.c
index 9a1e381..75085f6 100644
--- a/trace/control.c
+++ b/trace/control.c
@@ -35,6 +35,9 @@ TraceEvent *trace_event_name(const char *name)
static bool pattern_glob(const char *pat, const char *ev)
{
+ if (!(g_strcmp0(pat, "all"))) {
+ return true;
+ }
while (*pat != '\0' && *ev != '\0') {
if (*pat == *ev) {
pat++;
--
2.1.4
next reply other threads:[~2015-11-03 17:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-03 17:03 Denis V. Lunev [this message]
2015-11-03 18:40 ` [Qemu-devel] [PATCH v2 1/1] allow to enable all tracepoints via alias all Markus Armbruster
2015-11-03 18:45 ` Denis V. Lunev
2015-11-03 19:02 ` Denis V. Lunev
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=1446570199-29893-1-git-send-email-den@openvz.org \
--to=den@openvz.org \
--cc=okrishtal@parallels.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).