Skip to content

Commit 60d75f1

Browse files
HLilitoshadura
authored andcommitted
Adjust invocation of flamegraphs
1 parent 0acf6be commit 60d75f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/modules/AddRootBench.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function(RB_ADD_GBENCHMARK benchmark)
4949
set(postcmd POSTCMD ${ARG_POSTCMD})
5050
endif()
5151
if(flamegraph)
52-
set(postcmd ${postcmd} "${PROJECT_SOURCE_DIR}/rootbench-scripts/flamegraph.sh ${PROJECT_BINARY_DIR} -b ${CMAKE_CURRENT_BINARY_DIR}/${benchmark}")
52+
set(postcmd ${postcmd} "${PROJECT_SOURCE_DIR}/rootbench-scripts/flamegraph.sh -d ${PROJECT_BINARY_DIR} -b ${CMAKE_CURRENT_BINARY_DIR}/${benchmark}")
5353
add_dependencies(${benchmark} flamegraph-download)
5454
endif()
5555
if(${ARG_LABEL} STREQUAL "long")

0 commit comments

Comments
 (0)