Skip to content

Commit

Permalink
Fix process-tree script with new .csv name
Browse files Browse the repository at this point in the history
At some point the name of the .csv file generated by wpaexporter when
exporting process PIDs changed, thus breaking my process-tree script.
Uggh. I wish it was possible to specify the output file name.
  • Loading branch information
randomascii committed Jun 17, 2019
1 parent bc11786 commit 51eb6bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/XperfProcessParentage.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,9 @@ def main():

# This is the name of the file that wpaexporter creates when using
# ProcessParentage.wpaProfile. Ideally this filename could be
# specified, but oh well.
csvFilename = "Processes_Summary_Table_ProcessParentage.csv"
# specified, but oh well. Note that this name changes depending on the version
# of wpaexporter that you use, so that's awesome.
csvFilename = "Processes_ProcessParentage.csv"

if len(sys.argv) < 2:
print("Usage: %s trace.etl" % sys.argv[0])
Expand Down

0 comments on commit 51eb6bb

Please sign in to comment.