qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

tracetool: For ust trace bool type as ctf_integer

Previously functions having arguments of type bool was not traced
properly. The bool arguments were missing from the trace.

Signed-off-by: Jon Emil Jahren <jonemilj@gmail.com>
Message-id: 20180129041648.30884-3-jonemilj@gmail.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>

authored by

Jon Emil Jahren and committed by
Stefan Hajnoczi
61b01bbc fb1a66bc

+2 -1
+2 -1
scripts/tracetool/format/ust_events_h.py
··· 79 79 out(' ctf_integer_hex('+ t + ', ' + n + ', ' + n + ')') 80 80 elif ("ptr" in t) or ("*" in t): 81 81 out(' ctf_integer_hex('+ t + ', ' + n + ', ' + n + ')') 82 - elif ('int' in t) or ('long' in t) or ('unsigned' in t) or ('size_t' in t): 82 + elif ('int' in t) or ('long' in t) or ('unsigned' in t) \ 83 + or ('size_t' in t) or ('bool' in t): 83 84 out(' ctf_integer(' + t + ', ' + n + ', ' + n + ')') 84 85 elif ('double' in t) or ('float' in t): 85 86 out(' ctf_float(' + t + ', ' + n + ', ' + n + ')')