我试图提取YourKit的“线程”视图中显示的数据(在线程状态;主要是当每个线程“等待”或“可运行”时)。 我使用命令行导出实用程序为它支持的所有视图生成所有格式。
导出目录中包含一个文件“Table - Thread-Life-Cycle - Name-History.csv”。 这似乎最有可能包含我需要的信息,但我找不到文件中列的文档。
作为参考,列是:
ID uptime_ns thread thread_name frame top_method top_non_filtered_method Thread_Life_Cycle_id Name单个线程的数据样本可能是:
94 11879264791 57 Executor task launch worker-0 39131 java.lang.Thread.<init>(ThreadGroup, Runnable, String) scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 52 Keep-Alive-Timer 95 11899612660 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 53 Thread-34 96 11918630377 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 54 Thread-35 97 11942061861 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 55 Thread-36 98 11957367215 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 56 Thread-37 99 11971295215 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 57 Thread-38导出转储中有很多其他文件,但这似乎是最有希望的。 我应该在别处寻找吗? 任何人都可以了解YJP导出的CSV中使用的格式吗?
I am attempting to extract the data displayed in YourKit's "Threads" view (on thread state; primarily when each thread is "waiting" or "runnable"). I have used the command-line export utility to generate all of the formats for all of the views it supports.
Contained in the export directory is a file "Table--Thread-Life-Cycle--Name-History.csv". This seems the most likely to contain the information I require, but I cannot find documentation on the columns in the file.
For reference, the columns are:
ID uptime_ns thread thread_name frame top_method top_non_filtered_method Thread_Life_Cycle_id NameA sample of the data for a single thread might be:
94 11879264791 57 Executor task launch worker-0 39131 java.lang.Thread.<init>(ThreadGroup, Runnable, String) scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 52 Keep-Alive-Timer 95 11899612660 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 53 Thread-34 96 11918630377 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 54 Thread-35 97 11942061861 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 55 Thread-36 98 11957367215 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 56 Thread-37 99 11971295215 57 Executor task launch worker-0 39191 java.lang.Thread.<init>() scala.collection.TraversableLike$WithFilter$$anonfun$foreach$1.apply(Object) 57 Thread-38There are plenty of other files in the export dump, but this seems the most promising. Should I be looking elsewhere? Can anyone shed light on the formats used in YJP's exported CSV?
最满意答案
YourKit分析器中不支持导出线程状态(等待,阻止,运行等)。 这是一个有计划的功能。
表 - 线程生命周期 - 名称 - 历史记录.sv是“线程生命周期”探针的导出。 它仅包含线程名称更改的历史记录。
Export of thread states (waiting, blocked, running, etc) is not supported yet in YourKit profiler. It's a planned feature.
Table--Thread-Life-Cycle--Name-History.csv is a export of "Thread Life Cycle" probe. It contains history of thread name changes only.
更多推荐
发布评论