Profiler: Add profiling_test
Signed-off-by: Jianliang Shen <jianliang.shen@arm.com>
Change-Id: I68db182c8f39746dac98e13a8cd0fd9aad977e65
diff --git a/build_helper/build_helper_configs.py b/build_helper/build_helper_configs.py
index 01c6904..0ce6c5e 100755
--- a/build_helper/build_helper_configs.py
+++ b/build_helper/build_helper_configs.py
@@ -980,6 +980,32 @@
"invalid": _common_tfm_invalid_configs + []
}
+config_prof = {"seed_params": {
+ "tfm_platform": ["arm/mps2/an521"],
+ "compiler": ["GCC_10_3"],
+ "isolation_level": ["1"],
+ "test_regression": ["OFF"],
+ "test_psa_api": ["OFF"],
+ "cmake_build_type": ["Release"],
+ "with_bl2": [True],
+ "profile": [""],
+ "extra_params": ["PROF"]
+ },
+ "common_params": _common_tfm_builder_cfg,
+ "valid": [
+ # AN521_GNUARM_1_Release_BL2_IPC_PROF
+ ("arm/mps2/an521", "GCC_10_3", "1",
+ "OFF", "OFF", "Release", True, "", "IPC, PROF"),
+ # AN521_GNUARM_2_Release_BL2_PROF
+ ("arm/mps2/an521", "GCC_10_3", "2",
+ "OFF", "OFF", "Release", True, "", "PROF"),
+ # AN521_GNUARM_3_Release_BL2_PROF
+ ("arm/mps2/an521", "GCC_10_3", "3",
+ "OFF", "OFF", "Release", True, "", "PROF"),
+ ],
+ "invalid": _common_tfm_invalid_configs + []
+ }
+
# Config groups for debug
config_debug = {"seed_params": {
"tfm_platform": ["arm/mps2/an521"],
@@ -1110,6 +1136,9 @@
"example_dma350_s": config_example_dma350_s,
"example_dma350_ns": config_example_dma350_ns,
+ # profiling
+ "profiling": config_prof,
+
# config groups for debug
"debug": config_debug,
"debug_regr": config_debug_regr,