aboutsummaryrefslogtreecommitdiff
path: root/pw_thread/public/pw_thread/snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw_thread/public/pw_thread/snapshot.h')
-rw-r--r--pw_thread/public/pw_thread/snapshot.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pw_thread/public/pw_thread/snapshot.h b/pw_thread/public/pw_thread/snapshot.h
index c2502ae2b..4ae30e054 100644
--- a/pw_thread/public/pw_thread/snapshot.h
+++ b/pw_thread/public/pw_thread/snapshot.h
@@ -28,7 +28,7 @@ namespace pw::thread {
// field. This should encode either raw_backtrace or raw_stack to the provided
// Thread stream encoder.
using ProcessThreadStackCallback =
- Function<Status(proto::Thread::StreamEncoder&, ConstByteSpan)>;
+ Function<Status(proto::pwpb::Thread::StreamEncoder&, ConstByteSpan)>;
struct StackContext {
std::string_view thread_name;
@@ -48,7 +48,7 @@ struct StackContext {
// stack_end_pointer
// stack_pointer
Status SnapshotStack(const StackContext& stack,
- proto::Thread::StreamEncoder& encoder,
+ proto::pwpb::Thread::StreamEncoder& encoder,
const ProcessThreadStackCallback& thread_stack_callback);
} // namespace pw::thread