Lines Matching full:binary
29 def probe_prefix(binary): argument
30 dirname, filename = os.path.split(binary)
34 def which(binary): argument
36 if os.path.exists(os.path.join(path, binary)):
37 return os.path.join(path, binary)
39 print("Unable to find '%s' in $PATH" % binary)
43 def tapset_dir(binary): argument
44 dirname, filename = os.path.split(binary)
46 thisfile = which(binary)
48 thisfile = os.path.realpath(binary)
59 prefix = probe_prefix(args.binary)
60 tapsets = tapset_dir(args.binary)
63 print("Using tapset dir '%s' for binary '%s'" % (tapsets, args.binary))
87 tapsets = tapset_dir(args.binary)
90 print("Using tapset dir '%s' for binary '%s'" % (tapsets, args.binary))
93 prefix = probe_prefix(args.binary)
104 print("No probes found, are the tapsets installed in %s" % tapset_dir(args.binary))
131 To watch all trace points on the qemu-system-x86_64 binary:
142 runparser.add_argument("binary", help="QEMU system or user emulator binary")
150 To list all trace points on the qemu-system-x86_64 binary:
159 listparser.add_argument("binary", help="QEMU system or user emulator binary")