Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17834 )
Change subject: IMPALA-10904: Add some perf tools to the repository ...................................................................... IMPALA-10904: Add some perf tools to the repository This patch adds two perf tools to the repository. Both can be used to generate flame graphs (https://www.brendangregg.com/flamegraphs.html). perf-record.sh: It samples the CPU stack traces for the entire system, or for a specific PID until the user hits Ctrl+C. It can be useful if the developer wants to take a look at what Impala is doing. The resulting flame graph is written to an SVG file. perf-query.sh: It takes a query string as a parameter and passes it to the impala shell to execute. While the query is executing the script samples the CPU stack traces for the entire system. The resulting flame graph is written to an SVG file. E.g.: perf-query.sh "select count(*) from tpch.lineitem group by l_returnflag" Change-Id: Ib3da696b939204d23c5285dcf1bf6ee3a3738415 Reviewed-on: http://gerrit.cloudera.org:8080/17834 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> --- A bin/perf_tools/perf-query.sh A bin/perf_tools/perf-record.sh 2 files changed, 172 insertions(+), 0 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/17834 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: Ib3da696b939204d23c5285dcf1bf6ee3a3738415 Gerrit-Change-Number: 17834 Gerrit-PatchSet: 6 Gerrit-Owner: Zoltan Borok-Nagy <borokna...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Zoltan Borok-Nagy <borokna...@cloudera.com>