Lines Matching +full:- +full:path
2 # -*- python -*-
23 import os.path
30 dirname, filename = os.path.split(binary)
31 return re.sub("-", ".", filename) + ".log"
35 for path in os.environ["PATH"].split(os.pathsep):
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)
44 dirname, filename = os.path.split(binary)
48 thisfile = os.path.realpath(binary)
49 if not os.path.exists(thisfile):
53 basedir = os.path.split(thisfile)[0]
54 tapset = os.path.join(basedir, "..", "share", "systemtap", "tapset")
55 return os.path.realpath(tapset)
76 script = """probe begin { print("Running script, <Ctrl>-c to quit\\n") } """ + script
80 stapargs = [stap, "-s", "8", "-I", tapsets ]
82 stapargs.extend(["-x", args.pid])
83 stapargs.extend(["-e", script])
101 proc = subprocess.Popen([stap, "-I", tapsets, "-l", script],
122 parser.add_argument("-v", "--verbose", help="Print verbose progress info",
133 To watch all trace points on the qemu-system-x86_64 binary:
135 %(argv0)s run qemu-system-x86_64
139 %(argv0)s run qemu-system-x86_64 'qio*' 'qcrypto*'
142 runparser.add_argument("--pid", "-p", dest="pid",
152 To list all trace points on the qemu-system-x86_64 binary:
154 %(argv0)s list qemu-system-x86_64
158 %(argv0)s list qemu-system-x86_64 'qio*' 'qcrypto*'