aboutsummaryrefslogtreecommitdiff
path: root/java/lightweight-java-profiler
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2019-08-13 22:22:35 +0000
committerMathieu Arnold <mat@FreeBSD.org>2019-08-13 22:22:35 +0000
commit3bd0ac0d72aab526cd89382825e17fb94504687d (patch)
treec2e9bb521a07491f51813a0a02adbe55f6c79e13 /java/lightweight-java-profiler
parent7a76643f38d806cadebd3575ae3a5cf34e8006a5 (diff)
Notes
Diffstat (limited to 'java/lightweight-java-profiler')
-rw-r--r--java/lightweight-java-profiler/pkg-message6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/lightweight-java-profiler/pkg-message b/java/lightweight-java-profiler/pkg-message
index f957b294f48b..26164e697ca1 100644
--- a/java/lightweight-java-profiler/pkg-message
+++ b/java/lightweight-java-profiler/pkg-message
@@ -1,3 +1,9 @@
+[
+{ type: install
+ message: <<EOM
To use the lightweight-java-profiler, you can invoke Java as follows:
java -agentpath:path/to/liblagent.so[:file=fname] It will spit out stack traces into traces.txt (or into the optional fname passed to the agent). The current implementation samples every 1/100th of a second. It stores the first 3000 stack traces it encounters; additional stack traces will be ignored, but duplicate stack traces will continue to be counted indefinitely (or until the counter overflows, which will take a while).
+EOM
+}
+]