]> git.ozlabs.org Git - hiprofile/blobdiff - scripts/hiprofile
Convert to a python package
[hiprofile] / scripts / hiprofile
index f663cce8a11626750c075afe6400c4e927fbe819..4895937c4c8c205d41efcd140d175baf1d6f1532 100755 (executable)
@@ -4,9 +4,6 @@ import sys, os
 from optparse import OptionParser
 from hiprofile import Report, Connection, write_report
 
-resourcedir = os.path.join(os.path.dirname(__file__),
-                           '..', 'share', 'hiprofile')
-
 default_thresholds = {
     'binary':   '5%',
     'symbol':   '20',
@@ -37,7 +34,7 @@ def main(args):
 
     report.annotate(conn, options)
 
-    write_report(report, resourcedir, options.outdir)
+    write_report(report, options.outdir)
 
 if __name__ == '__main__':
     sys.exit(main(sys.argv))