diff --git a/backends/qualcomm/runtime/backends/QnnProfiler.cpp b/backends/qualcomm/runtime/backends/QnnProfiler.cpp index 8345434a145..b4650b30796 100644 --- a/backends/qualcomm/runtime/backends/QnnProfiler.cpp +++ b/backends/qualcomm/runtime/backends/QnnProfiler.cpp @@ -54,6 +54,7 @@ QnnProfile::QnnProfile( QnnProfile_Config_t qnnProfileConfig = QNN_PROFILE_CONFIG_INIT; qnnProfileConfig.option = QNN_PROFILE_CONFIG_OPTION_ENABLE_OPTRACE; + qnnProfileConfig.enableOptrace = true; std::array profileConfigs = { &qnnProfileConfig, nullptr}; error =