aboutsummaryrefslogtreecommitdiff
path: root/pw_system/example_user_app_init.cc
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-03-12 23:07:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-03-12 23:07:32 +0000
commit47562fa92998f8f4289ae9a8048349067754d52e (patch)
treec1643be8ab17fc607cea748a8bb1d621a5964873 /pw_system/example_user_app_init.cc
parenteeec55b65fe2c3c7647bb70ea44b3c839eb1267c (diff)
parent646563934a3e2ee26f50171f94d95173a1662e2c (diff)
downloadpigweed-47562fa92998f8f4289ae9a8048349067754d52e.tar.gz
Snap for 11566117 from 646563934a3e2ee26f50171f94d95173a1662e2c to sdk-releaseplatform-tools-35.0.1
Change-Id: Iec629b181a2c6905754a4c340e334884e13fd3b4
Diffstat (limited to 'pw_system/example_user_app_init.cc')
-rw-r--r--pw_system/example_user_app_init.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/pw_system/example_user_app_init.cc b/pw_system/example_user_app_init.cc
index 025dc7b8f..e8951d91a 100644
--- a/pw_system/example_user_app_init.cc
+++ b/pw_system/example_user_app_init.cc
@@ -15,7 +15,7 @@
#include "pw_log/log.h"
#include "pw_system/rpc_server.h"
-#include "pw_thread/sleep.h"
+#include "pw_trace/trace.h"
#include "pw_unit_test/unit_test_service.h"
namespace pw::system {
@@ -25,6 +25,8 @@ pw::unit_test::UnitTestService unit_test_service;
// This will run once after pw::system::Init() completes. This callback must
// return or it will block the work queue.
void UserAppInit() {
+ PW_TRACE_FUNCTION();
+
PW_LOG_INFO("Pigweed is fun!");
GetRpcServer().RegisterService(unit_test_service);
}