mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 02:46:23 +00:00
quick_dump: chdir us to where the text files are
This is useful if you run out of the quick_dump directory. Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
This commit is contained in:
parent
d8d114bca3
commit
6b77e04560
@ -24,6 +24,9 @@ args = parser.parse_args()
|
|||||||
if reg.init() == False:
|
if reg.init() == False:
|
||||||
sys.exit()
|
sys.exit()
|
||||||
|
|
||||||
|
# Put us where the script is
|
||||||
|
os.chdir(os.path.dirname(sys.argv[0]))
|
||||||
|
|
||||||
#parse anything named base_ these are assumed to apply for all gens.
|
#parse anything named base_ these are assumed to apply for all gens.
|
||||||
if args.baseless == False:
|
if args.baseless == False:
|
||||||
for root, dirs, files in os.walk('.'):
|
for root, dirs, files in os.walk('.'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user