mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
This commit imports a very useful tool that summarizes/collapses threads from gdb pstacks. I found it very useful in analyzing pstacks with large number of threads, specially in Impala's context. Credit to the original author at https://poormansprofiler.org/ (Slightly modified for better input handling). Example Usages: --------------- summarize-pstacks foo.pstack summarize-pstacks foo_*.pstack cat foo.pstack | summarize-pstacks cat foo_*.pstack | summarize-pstacks Change-Id: I0d00f7cea5fe01ff8b2511f4e04db5d5ad1c82f4 Reviewed-on: http://gerrit.cloudera.org:8080/11926 Reviewed-by: Bharath Vissapragada <bharathv@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
1.9 KiB
Executable File
1.9 KiB
Executable File