#65 '-t' option to split profile by threads

This commit is contained in:
Andrey Pangin
2017-11-07 12:55:45 +03:00
committed by Andrei Pangin
parent 2cb9c66392
commit 2abc624efb
12 changed files with 47 additions and 18 deletions
+4
View File
@@ -94,6 +94,10 @@ FrameName::FrameName(ASGCT_CallFrame& frame, bool dotted) {
VMKlass* alloc_class = (VMKlass*)((uintptr_t)frame.method_id ^ 1);
_str = strcat(javaClassName(alloc_class), dotted ? " (out)" : "_[k]");
} else if (frame.bci == BCI_THREAD_ID) {
snprintf(_buf, sizeof(_buf), "[thread %d]", (int)(uintptr_t)frame.method_id);
_str = _buf;
} else {
jclass method_class;
char* class_name = NULL;