make_report.py增加-t参数

Signed-off-by: mashaohua7 <mashaohua7@huawei.com>
This commit is contained in:
mashaohua7 2023-07-06 14:34:25 +08:00
parent 9980e436aa
commit 27e547bd00

View File

@ -56,9 +56,12 @@ def main():
parser.add_argument('-l', '--local_lib_dir', type=dir_check, default='./binary_cache',
help="""Path to find symbol dir use to
do offline unwind stack""")
parser.add_argument('-t', '--html_template', default='./',
type=dir_check, help=""" The path of report html template
""")
args = parser.parse_args()
get_used_binaries(args.perf_data, args.report_html, args.local_lib_dir)
get_used_binaries(args.perf_data, args.report_html, args.local_lib_dir, args.html_template)
if __name__ == '__main__':