Modifier and Type | Method and Description |
---|---|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.io.File file)
Loads a potentially zipped or gzipped file using the parser extensions loaded from the java
service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.io.InputStream stream)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.io.InputStream stream,
java.util.List<? extends IParserExtension> extensions)
Loads a potentially zipped or gzipped input stream using the parser extensions loaded from
the java service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.util.List<java.io.File> files)
Loads a recording from a sequence of potentially zipped or gzipped files using the parser
extensions loaded from the java service loader
|
static IItemCollection |
JfrLoaderToolkit.loadEvents(java.util.List<java.io.File> files,
java.util.List<? extends IParserExtension> extensions)
Loads a recording from a sequence of potentially zipped or gzipped file using the supplied
parser extensions
|
private static EventArrays |
JfrLoaderToolkit.loadFile(java.util.List<java.io.File> files,
java.util.List<? extends IParserExtension> extensions) |
static void |
RecordingPrinter.main(java.lang.String[] args)
Main method that will print a recording Usage:
|
Modifier and Type | Class and Description |
---|---|
class |
InvalidJfrFileException |
class |
NotEnoughMemoryException |
class |
VersionNotSupportedException |
Modifier and Type | Method and Description |
---|---|
private static Chunk |
FlightRecordingLoader.createChunkInput(java.io.DataInput input,
int firstByte,
byte[] reusableBuffer) |
private static IChunkLoader |
FlightRecordingLoader.createChunkLoader(IChunkSupplier chunkSupplier,
LoaderContext context,
byte[] buffer,
boolean ignoreTruncatedChunk) |
static IChunkSupplier |
FlightRecordingLoader.createChunkSupplier(java.io.InputStream input) |
static IChunkSupplier |
FlightRecordingLoader.createChunkSupplier(java.io.RandomAccessFile input) |
static IChunkSupplier |
FlightRecordingLoader.createChunkSupplier(java.io.RandomAccessFile input,
java.util.Collection<ChunkInfo> chunks) |
private static ChunkInfo |
FlightRecordingLoader.getChunkInfo(Chunk nextChunk,
long nextChunkPos) |
Chunk |
IChunkSupplier.getNextChunk(byte[] reusableBuffer)
Get the input for the next chunk.
|
static EventArrays |
FlightRecordingLoader.loadStream(java.io.InputStream stream,
boolean hideExperimentals,
boolean ignoreTruncatedChunk) |
static EventArrays |
FlightRecordingLoader.loadStream(java.io.InputStream stream,
java.util.List<? extends IParserExtension> extensions,
boolean hideExperimentals,
boolean ignoreTruncatedChunk)
Read events from an input stream of JFR data.
|
static java.util.List<ChunkInfo> |
FlightRecordingLoader.readChunkInfo(IChunkSupplier chunkSupplier) |
static EventArrays |
FlightRecordingLoader.readChunks(java.lang.Runnable monitor,
IChunkSupplier chunkSupplier,
boolean hideExperimentals,
boolean ignoreTruncatedChunk) |
static EventArrays |
FlightRecordingLoader.readChunks(java.lang.Runnable monitor,
java.util.List<? extends IParserExtension> extensions,
IChunkSupplier chunkSupplier,
boolean hideExperimentals,
boolean ignoreTruncatedChunk) |
Modifier and Type | Method and Description |
---|---|
EventArrays |
LoaderContext.buildEventArrays() |
Modifier and Type | Method and Description |
---|---|
static IChunkLoader |
ChunkLoaderV0.create(Chunk input,
LoaderContext context) |
static ChunkInfo |
ChunkLoaderV0.getInfo(Chunk input,
long position) |
Constructor and Description |
---|
ChunkLoaderV0(ChunkStructure structure,
byte[] data,
LoaderContext context) |
Modifier and Type | Method and Description |
---|---|
static IChunkLoader |
ChunkLoaderV1.create(Chunk input,
LoaderContext context) |
static ChunkInfo |
ChunkLoaderV1.getInfo(Chunk input,
long position) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
JfrHtmlRulesReport.createReport(java.io.File jfrFile)
Read a JFR file and create an HTML report
|
static java.lang.String |
JfrHtmlRulesReport.createReport(java.io.InputStream stream)
Read JFR data and create an HTML report
|
Modifier and Type | Method and Description |
---|---|
static void |
StacktraceGraphModel.main(java.lang.String[] args) |