From: Olga Krishtal <okrish...@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 <okrish...@parallels.com>
Signed-off-by: Denis V. Lunev <d...@openvz.org>
CC: Paolo Bonzini <pbonz...@redhat.com>
CC: Stefan Hajnoczi <stefa...@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


Reply via email to