Skip to content

Commit

Permalink
Grab more info in parsedump.py
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Innes <andrew.c12@gmail.com>
  • Loading branch information
andrewc12 committed Oct 21, 2023
1 parent 86bf8d6 commit 5291e53
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/windows/parsedump/parsedump.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,17 @@ def run(arg):

stack = run("k ; q")

info = run(".lines -e;.kframes 100;.echo ***** process info *****;|;!peb;!analyze -vp;.ecxr;kp;!uniqstack -vp;!gle -all;q")

cbuf = run(".writemem C:\\cbuf.txt poi(OpenZFS!cbuf) L100000 ; q")

with open("C:\\stack.txt", "w") as file:
file.write(analyze)
file.write("\n")
file.write(stack)

with open("C:\\info.txt", "w") as file:
file.write(info)

print("Please upload C:\\stack.txt and C:\\cbuf.txt "
print("Please upload C:\\stack.txt, C:\\info.txt and C:\\cbuf.txt "
"when creating an issue on GitHub")

0 comments on commit 5291e53

Please sign in to comment.