File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
profiler/src/main/java/com/splunk/opentelemetry/profiler/snapshot Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 2424import static com .splunk .opentelemetry .profiler .ProfilingSemanticAttributes .THREAD_STATE ;
2525import static com .splunk .opentelemetry .profiler .ProfilingSemanticAttributes .TRACE_ID ;
2626
27- import com .google .perftools .profiles .ProfileProto .Profile ;
2827import com .google .perftools .profiles .ProfileProto .Sample ;
2928import java .util .List ;
3029
3130class PprofTranslator {
32- public Profile translateToPprof (List <StackTrace > stackTraces ) {
33- Pprof pprof = new Pprof ();
34- for (StackTrace stackTrace : stackTraces ) {
35- pprof .add (translateToPprofSample (stackTrace , pprof ));
36- }
37- return pprof .build ();
38- }
39-
4031 public Pprof toPprof (List <StackTrace > stackTraces ) {
4132 Pprof pprof = new Pprof ();
4233 for (StackTrace stackTrace : stackTraces ) {
You can’t perform that action at this time.
0 commit comments