mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
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
11 lines
391 B
C++
11 lines
391 B
C++
--- src/display.cc.orig 2015-04-15 08:00:23 UTC
|
|
+++ src/display.cc
|
|
@@ -20,7 +20,7 @@ void StackTracesPrinter::PrintStackTrace
|
|
if (traces[i].count != 0) {
|
|
total += traces[i].count;
|
|
count++;
|
|
- fprintf(file_, "%"PRIdPTR" ", traces[i].count);
|
|
+ fprintf(file_, "%" PRIdPTR" ", traces[i].count);
|
|
PrintStackTrace(&traces[i]);
|
|
fprintf(file_, "\n");
|
|
}
|