mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Update run.sh
This commit is contained in:
parent
294dd3c6cc
commit
9f187b594c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user