Skip to content

Commit

Permalink
parsedump: Make checkstyle happy by splitting the long Lines
Browse files Browse the repository at this point in the history
Uses a string join instead to build the command string.

Signed-off-by: Axel Gembe <[email protected]>
  • Loading branch information
EchterAgo authored and andrewc12 committed Nov 10, 2023
1 parent 2e7f0d9 commit 516c987
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion contrib/windows/parsedump/parsedump.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,23 @@ 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")
info = run(
";".join(
[
".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")

Expand Down

0 comments on commit 516c987

Please sign in to comment.