Class SnapFormatCommand
java.lang.Object
com.ibm.j9ddr.tools.ddrinteractive.Command
com.ibm.j9ddr.tools.ddrinteractive.commands.SnapBaseCommand
com.ibm.j9ddr.tools.ddrinteractive.commands.SnapFormatCommand
-
Nested Class Summary
Nested classes/interfaces declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
Command.CommandDescription
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
run
(String command, String[] args, Context context, PrintStream out) Options should be: -f outputFile -t vmthread -d .dat file pathprotected void
writeBytesToTrace
(Context context, long address, int bufferSize, PrintStream out) protected void
writeHeaderBytesToTrace
(Context context, byte[] headerBytes, PrintStream out) Methods declared in class com.ibm.j9ddr.tools.ddrinteractive.commands.SnapBaseCommand
extractTraceData, getCStringAtAddress, getCStringAtAddress
Methods declared in class com.ibm.j9ddr.tools.ddrinteractive.Command
addCommand, addSubCommand, dbgFindPatternInRange, getCommandDescriptions, getCommandNames, printDetailedHelp, recognises
-
Constructor Details
-
SnapFormatCommand
public SnapFormatCommand()
-
-
Method Details
-
run
public void run(String command, String[] args, Context context, PrintStream out) throws DDRInteractiveCommandException Options should be: -f outputFile -t vmthread -d .dat file path- Parameters:
command
- Command string e.g. !j9xargs
- Arguments for commandcontext
- Context to work inout
- PrintStream to write command output on- Throws:
DDRInteractiveCommandException
- If there is any problem running the command (incorrect usage, CorruptData etc.)
-
writeHeaderBytesToTrace
-
writeBytesToTrace
-