diff options
author | Johannes M Dieterich <jmd@FreeBSD.org> | 2017-04-01 17:58:59 +0000 |
---|---|---|
committer | Johannes M Dieterich <jmd@FreeBSD.org> | 2017-04-01 17:58:59 +0000 |
commit | a77376a1fe451c084c5ec703fca0433d3651b578 (patch) | |
tree | 4abd33c67d210df1e8d6d75aa4eb516b942b13c4 /java/lightweight-java-profiler/pkg-message | |
parent | Add DOCS OPTION (diff) |
new port: java/lightweight-java-profiler
A port of the lightweight-java-profiler (ljp). ljp acts as a bare-bones agentlib to produce profiling stacks that can be digested, e.g., by Brendan Gregg's flamegraph scripts.
Reviewed by: mat, swills (mentor)
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10194
Notes
Notes:
svn path=/head/; revision=437452
Diffstat (limited to 'java/lightweight-java-profiler/pkg-message')
-rw-r--r-- | java/lightweight-java-profiler/pkg-message | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/java/lightweight-java-profiler/pkg-message b/java/lightweight-java-profiler/pkg-message new file mode 100644 index 000000000000..f957b294f48b --- /dev/null +++ b/java/lightweight-java-profiler/pkg-message @@ -0,0 +1,3 @@ +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). |