perf build: Test the refcnt check build
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2023 16:47:03 +0000 (13:47 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 19 Apr 2023 16:47:03 +0000 (13:47 -0300)
Make sure we test build the currently added REFCNT_CHECKING
infrastructure.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/make

index 96896d4986415ee1153c43951dbd747b69d937da..d7587612663122e5c81e9989b739c772f1d52a03 100644 (file)
@@ -95,6 +95,7 @@ make_no_syscall_tbl := NO_SYSCALL_TABLE=1
 make_with_clangllvm := LIBCLANGLLVM=1
 make_no_libpfm4     := NO_LIBPFM4=1
 make_with_gtk2      := GTK2=1
+make_refcnt_check   := EXTRA_CFLAGS="-DREFCNT_CHECKING=1"
 make_tags           := tags
 make_cscope         := cscope
 make_help           := help
@@ -159,6 +160,7 @@ run += make_with_babeltrace
 run += make_with_coresight
 run += make_with_clangllvm
 run += make_no_libpfm4
+run += make_refcnt_check
 run += make_help
 run += make_doc
 run += make_perf_o