Zoltan Borok-Nagy has uploaded this change for review. ( 
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-all.sh:
It samples the CPU stack traces for the entire system 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
---
A bin/perf_tools/perf-all.sh
A bin/perf_tools/perf-query.sh
2 files changed, 154 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/34/17834/1
--
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: newchange
Gerrit-Change-Id: Ib3da696b939204d23c5285dcf1bf6ee3a3738415
Gerrit-Change-Number: 17834
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <borokna...@cloudera.com>

Reply via email to