mirror of
https://github.com/mii443/qemu.git
synced 2025-08-25 08:29:25 +00:00
trace: [tracetool] Explicitly identify public backends
Public backends are those printed by "--list-backends" and thus considered valid by the configure script. Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
e280ff5e91
commit
93fba1618d
@ -15,6 +15,10 @@ __email__ = "stefanha@linux.vnet.ibm.com"
|
||||
|
||||
from tracetool import out
|
||||
|
||||
|
||||
PUBLIC = True
|
||||
|
||||
|
||||
def is_string(arg):
|
||||
strtype = ('const char*', 'char*', 'const char *', 'char *')
|
||||
if arg.lstrip().startswith(strtype):
|
||||
|
Reference in New Issue
Block a user