Update run.sh

This commit is contained in:
Alexander Kuzmenkov 2021-04-23 21:51:26 +03:00 committed by GitHub
parent 294dd3c6cc
commit 9f187b594c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ clickhouse-client --allow_introspection_functions=1 -q "
# Also export trace log in flamegraph-friendly format. # Also export trace log in flamegraph-friendly format.
for trace_type in CPU Memory Real for trace_type in CPU Memory Real
do do
clickhouse-client " clickhouse-client -q "
select select
arrayStringConcat((arrayMap(x -> concat(splitByChar('/', addressToLine(x))[-1], '#', demangle(addressToSymbol(x)) ), trace)), ';') AS stack, arrayStringConcat((arrayMap(x -> concat(splitByChar('/', addressToLine(x))[-1], '#', demangle(addressToSymbol(x)) ), trace)), ';') AS stack,
count(*) AS samples count(*) AS samples