Skip to content

Commit

Permalink
perf-plot: Squelch shellcheck warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cdown committed May 14, 2024
1 parent 9af8725 commit b0a8f2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/perf-plot
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ extra_args=()
(( ALL_NODES )) && extra_args+=( -n 0.05 -e 0.01 )


filter_cmd=cat
filter_cmd='cat'
if (( RUST )); then
filter_cmd=rustfilt
filter_cmd='rustfilt'
fi

perf script -i "$perf_file" | "$filter_cmd" | gprof2dot "${extra_args[@]}" --format=perf | dot -Tsvg > "$svg_file"
Expand Down

0 comments on commit b0a8f2c

Please sign in to comment.