mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
trace: [simple] disable all trace points by default
Note that this refers to the backend-specific state (whether the output must be generated), not the event "disabled" property (which always uses the "nop" backend). Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
This commit is contained in:
parent
dd215f646c
commit
03727e6a06
3 changed files with 10 additions and 13 deletions
|
@ -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=0},
|
||||
EOF
|
||||
simple_event_num=$((simple_event_num + 1))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue