Lines Matching full:template
145 if os.path.isfile(self.args.template):
146 template = f"file://{self.args.template}"
149 print(f"""Warning: Flame Graph template '{self.args.template}'
152 graph template (--template PATH) or use another output format (--format
156 … print("""Not attempting to download Flame Graph template as script command line
158 template retry without live mode. For example, use 'perf record -a -g
160 download the template from:
168 …s = input("Do you wish to download a template from cdn.jsdelivr.net? (this warning can be suppress…
171 …template = "https://cdn.jsdelivr.net/npm/[email protected]/dist/templates/d3-flamegraph-base.ht…
175 with urllib.request.urlopen(template) as template:
177 l.decode("utf-8") for l in template.readlines()
180 print(f"Error reading template {template}: {err}\n"
190 s = input(f"""Unexpected template md5sum.
225 parser.add_argument("--template",
227 help="path to flame graph HTML template")
237 help="allow unprompted downloading of HTML template")