aboutsummaryrefslogtreecommitdiff
path: root/pw_trace/example/sample_app.cc
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2024-03-06 09:29:56 -0800
committerXin Li <delphij@google.com>2024-03-06 09:29:56 -0800
commit646563934a3e2ee26f50171f94d95173a1662e2c (patch)
treec1643be8ab17fc607cea748a8bb1d621a5964873 /pw_trace/example/sample_app.cc
parentb1463ed3bc39c55c2a9496b8332940473fc3c023 (diff)
parent28d03a2a1cabbe01d7bcb6cf5166c10e50d3c2c6 (diff)
downloadpigweed-646563934a3e2ee26f50171f94d95173a1662e2c.tar.gz
Merge Android 14 QPR2 to AOSP mainHEADmastermain
Bug: 319669529 Merged-In: Icdf552029fb97a34e83c6dd7799433fc473a2506 Change-Id: I193fcbb5c284df7b04c8b6f860a61ffb6f521d37
Diffstat (limited to 'pw_trace/example/sample_app.cc')
-rw-r--r--pw_trace/example/sample_app.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/pw_trace/example/sample_app.cc b/pw_trace/example/sample_app.cc
index 016f7787d..b7cb39518 100644
--- a/pw_trace/example/sample_app.cc
+++ b/pw_trace/example/sample_app.cc
@@ -79,7 +79,7 @@ class ProcessingTask : public SimpleRunnable {
pw::span<std::byte> buf_span = pw::span<std::byte>(
reinterpret_cast<std::byte*>(jobs_buffer_), sizeof(jobs_buffer_));
jobs_.SetBuffer(buf_span)
- .IgnoreError(); // TODO(b/242598609): Handle Status properly
+ .IgnoreError(); // TODO: b/242598609 - Handle Status properly
}
const char* Name() const override { return "Processing Task"; }
bool ShouldRun() override { return jobs_.EntryCount() > 0; }
@@ -92,9 +92,9 @@ class ProcessingTask : public SimpleRunnable {
// Get the next job from the queue.
jobs_.PeekFront(job_bytes.bytes, &bytes_read)
- .IgnoreError(); // TODO(b/242598609): Handle Status properly
+ .IgnoreError(); // TODO: b/242598609 - Handle Status properly
jobs_.PopFront()
- .IgnoreError(); // TODO(b/242598609): Handle Status properly
+ .IgnoreError(); // TODO: b/242598609 - Handle Status properly
Job& job = job_bytes.job;
// Process the job
@@ -139,7 +139,7 @@ class ProcessingTask : public SimpleRunnable {
void AddJobInternal(uint32_t job_id, uint8_t value) {
JobBytes job{.job = {.job_id = job_id, .value = value}};
jobs_.PushBack(job.bytes)
- .IgnoreError(); // TODO(b/242598609): Handle Status properly
+ .IgnoreError(); // TODO: b/242598609 - Handle Status properly
}
} processing_task;