Skip to content
Snippets Groups Projects
Commit 42d3c44c authored by Florian Fischer's avatar Florian Fischer
Browse files

fix mode option in gen-flamegraphs.sh

parent 521f19cf
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@ do
mode_args='';
[[ "$mode" = "direct" ]] && mode_args='--direct';
perf_out="${DATA_DIR}"/open-bench-${mode}.data
${PERF_RECORD} "${perf_out}" ${OPEN_BENCH} $mode "${DIR}"
${PERF_RECORD} "${perf_out}" ${OPEN_BENCH} ${mode_args} "${DIR}"
sudo chmod a+r "${perf_out}"
tools/generate-flamegraph.sh "${perf_out}"
done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment