Skip to content

Commit

Permalink
Update Profiling.asciidoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Aug 5, 2015
1 parent f3758ee commit b941dc2
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tutorials/Profiling.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,6 @@ Profiling Forge

Forge can be easily profiled using the YourKit Java Profiler.

== Copy the YourKit module into your forge installation
----
cp -R $FORGE_SOURCES/dist/src/main/resources/modules/com/yourkit $FORGE_HOME/modules/com
----

== Copy the YourKit JAR into the YourKit module
----
cp $YOURKIT_HOME/lib/yjp.jar $FORGE_HOME/modules/com/yourkit/profiler/main/yjp.jar
----

== Set the profiler JVM agent for your installation and OS_PATH, and add the module to the System module

Make sure you use the appropriate path to your link:http://www.yourkit.com/docs/11/help/agent.jsp[installation directory and version] , and replace variables with those appropriate for your environment.
Expand All @@ -34,7 +24,7 @@ set FORGE_OPTS="-Djboss.modules.system.pkgs=com.yourkit -agentpath:%YOURKIT_HOME

=== Start Forge
----
forge
./forge
----

=== Run YourKit
Expand Down

0 comments on commit b941dc2

Please sign in to comment.