diff options
Diffstat (limited to 'trace-events')
-rw-r--r-- | trace-events | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/trace-events b/trace-events index a37d3cc6e3..2a986ecd29 100644 --- a/trace-events +++ b/trace-events @@ -12,10 +12,15 @@ # # Format of a trace event: # -# <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>" +# [disable] <name>(<type1> <arg1>[, <type2> <arg2>] ...) "<format-string>" # # Example: qemu_malloc(size_t size) "size %zu" # +# The "disable" keyword will build without the trace event. +# In case of 'simple' trace backend, it will allow the trace event to be +# compiled, but this would be turned off by default. It can be toggled on via +# the monitor. +# # The <name> must be a valid as a C function name. # # Types should be standard C types. Use void * for pointers because the trace |