Skip to content

Commit

Permalink
Adjust invocation of flamegraphs
Browse files Browse the repository at this point in the history
  • Loading branch information
HLilit committed Jul 9, 2019
1 parent 069be1b commit 152fd28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/AddRootBench.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function(RB_ADD_GBENCHMARK benchmark)
set(postcmd POSTCMD ${ARG_POSTCMD})
endif()
if(flamegraph)
set(postcmd ${postcmd} "${PROJECT_SOURCE_DIR}/rootbench-scripts/flamegraph.sh ${PROJECT_BINARY_DIR} -b ${CMAKE_CURRENT_BINARY_DIR}/${benchmark}")
set(postcmd ${postcmd} "${PROJECT_SOURCE_DIR}/rootbench-scripts/flamegraph.sh -d ${PROJECT_BINARY_DIR} -b ${CMAKE_CURRENT_BINARY_DIR}/${benchmark}")
add_dependencies(${benchmark} flamegraph-download)
endif()
if(${ARG_LABEL} STREQUAL "long")
Expand Down

0 comments on commit 152fd28

Please sign in to comment.