[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/4] trace: [simple] always enable trace points
From: |
Lluís |
Subject: |
[Qemu-devel] [PATCH 4/4] trace: [simple] always enable trace points |
Date: |
Sun, 27 Mar 2011 21:43:33 +0200 |
User-agent: |
StGit/0.15 |
Signed-off-by: Lluís Vilanova <address@hidden>
---
scripts/tracetool | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/scripts/tracetool b/scripts/tracetool
index 7506776..b355ac5 100755
--- a/scripts/tracetool
+++ b/scripts/tracetool
@@ -221,15 +221,10 @@ EOF
linetoc_simple()
{
- local name state
+ local name
name=$(get_name "$1")
- if has_property "$1" "disable"; then
- state="0"
- else
- state="1"
- fi
cat <<EOF
-{.tp_name = "$name", .state=$state},
+{.tp_name = "$name", .state=1},
EOF
simple_event_num=$((simple_event_num + 1))
}