diff --git a/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py b/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py
index 5f4a96740cedb05295e4fcde0c5dfa65a0be34cc..230fdf8b73dfd7959cfaa98fe06eafe6a75087b1 100755
--- a/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py
+++ b/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py
@@ -14,7 +14,7 @@ benchmarks_srcdir = Path(__file__).parent / "../hpvm-c/benchmarks"
 # So we know where the benchmark binaries are due to source directory structure,
 # and this is not hardcoding.
 dnn = argv[1]
-bench_bin_file = benchmarks_bindir / dnn
+bench_bin_file = benchmarks_bindir / f"hpvm_{dnn}"
 config_file = benchmarks_srcdir / dnn / "data/tuner_confs.txt"
 out_config_file = f"./{dnn}.txt"
 profile_configs(bench_bin_file, config_file, out_config_file)