def METHOD_NAME(verbose, name):
    prefix = probe_prefix(args.binary)
    offset = len(prefix) + 1
    script = prefix + "." + name
    if verbose:
        print("Listing probes with name '%s'" % script)
    proc = subprocess.Popen(["stap", "-l", script],
                            stdout=subprocess.PIPE,
                            universal_newlines=True,
                            env=tapset_env(tapsets))
    out, err = proc.communicate()
    if proc.returncode != 0:
        print("No probes found, are the tapsets installed in %s" % tapset_dir(args.binary))
        sys.exit(1)
    for line in out.splitlines():
        if line.startswith(prefix):
            print("%s" % line[offset:])