question: public static void agentmain ( String args , Instrumentation inst ) throws Exception { logger . info ( "Executing agentmain of JavaAgent" ) ; checkTransformerState ( ) ; inst . addTransformer ( transformer , true ) ; instrumentation = inst ; }
target:  This is called by JVM when agent starts