Index

A B C D E F G I J M O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values

A

agentmain(String, Instrumentation) - Static method in class fr.bl.drit.flow.agent.AgentMain
When attaching the agent at runtime.
AgentMain - Class in fr.bl.drit.flow.agent
The Java Flow agent entry point.
AgentMain() - Constructor for class fr.bl.drit.flow.agent.AgentMain
 

B

BinaryThreadRecorder - Class in fr.bl.drit.flow.agent
Records a call tree in a compact binary format.
BinaryThreadRecorder(Path) - Constructor for class fr.bl.drit.flow.agent.BinaryThreadRecorder
 

C

close() - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
 
close() - Method in class fr.bl.drit.flow.agent.JsonlThreadRecorder
 
close() - Method in class fr.bl.drit.flow.agent.ThreadLocalRecorder
Flush and close all per-thread streams at shutdown.
createForCurrentThread(Path) - Method in interface fr.bl.drit.flow.agent.ThreadRecorderFactory
 

D

dump(Path) - Method in class fr.bl.drit.flow.agent.MethodIdMapping
Dump the mapping to a file.
dump(Map<String, Long>, Path) - Static method in class fr.bl.drit.flow.agent.MethodIdMapping
Dump the mapping to a file, for potential reuse in future runs.

E

enter(long) - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
 
enter(long) - Static method in class fr.bl.drit.flow.agent.FlowAdvice
Record entering an instrumented method.
enter(long) - Method in class fr.bl.drit.flow.agent.JsonlThreadRecorder
 
enter(long) - Method in interface fr.bl.drit.flow.agent.Recorder
Emit a method enter event with the given method ID.
enter(long) - Method in class fr.bl.drit.flow.agent.ThreadLocalRecorder
 
exit() - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
 
exit() - Static method in class fr.bl.drit.flow.agent.FlowAdvice
Record exiting an instrumented method.
exit() - Method in class fr.bl.drit.flow.agent.JsonlThreadRecorder
 
exit() - Method in interface fr.bl.drit.flow.agent.Recorder
Emit a method exit event.
exit() - Method in class fr.bl.drit.flow.agent.ThreadLocalRecorder
 

F

F_ENTER - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Highest bit is 1 (0x80).
F_EXIT - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Highest bit is 0 (0x00).
fileName - Variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
The file containing the call tree data of the recorder's thread.
FlowAdvice - Class in fr.bl.drit.flow.agent
Contains the enter and exit Advice methods.
FlowAdvice() - Constructor for class fr.bl.drit.flow.agent.FlowAdvice
 
flushPendingExits() - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Flush a pending exit event if there is one.
fr.bl.drit.flow.agent - package fr.bl.drit.flow.agent
 

G

getFileName() - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
 
getFileName() - Method in class fr.bl.drit.flow.agent.JsonlThreadRecorder
 

I

idFor(String) - Method in class fr.bl.drit.flow.agent.MethodIdMapping
Get or compute a method ID for a given method.

J

JsonlThreadRecorder - Class in fr.bl.drit.flow.agent
Call tree JSONL recorder.
JsonlThreadRecorder(Path) - Constructor for class fr.bl.drit.flow.agent.JsonlThreadRecorder
 

M

M_CONT - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Continuation bit in a varint, the highest bit (0x80).
M_FLAG - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Flag bit, the highest bit (0x80).
M_PACK_CONT - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Continuation bit in a packed varint, second highest bit (0x40).
M_PACK_PAYLOAD - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Payload in a packed varint, the lowest 6 bits (0x3F).
M_PAYLOAD - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Payload in a varint, the lowest 7 bits (0x7F).
M_PAYLOAD_REST - Static variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Rest of payload to encode in following varint bytes, all but 7 lowest bits (~0x7FL).
MethodId - Annotation Interface in fr.bl.drit.flow.agent
Used in FlowAdvice.enter(long) to annotate the parameter that contains the instrumented method ID.
MethodIdMapping - Class in fr.bl.drit.flow.agent
Mapping of method keys (e.g.
MethodIdMapping() - Constructor for class fr.bl.drit.flow.agent.MethodIdMapping
Initialize a blank mapping.
MethodIdMapping(Path) - Constructor for class fr.bl.drit.flow.agent.MethodIdMapping
Initialize mapping from an existing file, to preserve or optimize method IDs across runs.
MethodIdOffsetMapping - Class in fr.bl.drit.flow.agent
Custom OffsetMapping to inject method IDs into the advice.
MethodIdRemapper - Class in fr.bl.drit.flow.agent
Utilities to read existing method ID mapping, count method invocations from Recorder trace files, and produce an optimized mapping.

O

optimize(Path, Path) - Static method in class fr.bl.drit.flow.agent.MethodIdRemapper
Read existing traces and mapping.
out - Variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Output stream for the binary call tree data of the recorder's thread.

P

pendingExits - Variable in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Pending consecutive exits.
premain(String, Instrumentation) - Static method in class fr.bl.drit.flow.agent.AgentMain
When starting the application with the agent.

R

Recorder - Interface in fr.bl.drit.flow.agent
Specifies a recorder that is used to record flow data.
RECORDER - Static variable in class fr.bl.drit.flow.agent.Singletons
The Recorder of method enter and exit events.
resolve(TypeDescription, MethodDescription, Assigner, Advice.ArgumentHandler, Advice.OffsetMapping.Sort) - Method in class fr.bl.drit.flow.agent.MethodIdOffsetMapping
 

S

Singletons - Class in fr.bl.drit.flow.agent
Global singletons used by the agent.
size() - Method in class fr.bl.drit.flow.agent.MethodIdMapping
 

T

ThreadLocalRecorder - Class in fr.bl.drit.flow.agent
A recorder that orchestrates per-thread recorders.
ThreadLocalRecorder(ThreadRecorderFactory, Path) - Constructor for class fr.bl.drit.flow.agent.ThreadLocalRecorder
 
ThreadRecorder - Interface in fr.bl.drit.flow.agent
Specifies a thread-local recorder that is used to record flow data for a specific thread.
ThreadRecorderFactory - Interface in fr.bl.drit.flow.agent
Functional interface for creating ThreadRecorders.

W

writeFlagAndVarInt(int, long) - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Write unsigned variable-length integer with a 1-bit flag packed into the first byte.
writeVarInt(long) - Method in class fr.bl.drit.flow.agent.BinaryThreadRecorder
Write an unsigned variable-length integer (LEB128-style).
A B C D E F G I J M O P R S T W 
All Classes and Interfaces|All Packages|Constant Field Values