Commit Graph

3 Commits

Author SHA1 Message Date
Armando Montanez
0a58c02465 pw_thread_embos: Update thread iteration start
Updates the thread iteration to start from OS_Global.pTask, the true
full thread list starting point.

No-Docs-Update-Reason: Internal fix
Change-Id: I13c1c1b8a545b51382dbc6fbd32e725634fdeb21
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/58746
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-08-28 03:00:52 +00:00
Armando Montanez
5d4eed6db5 pw_thread_embos: Keep walking tasks on error
Changes behavior of the thread iterator to continue iteration over all
threads when an error is encountered.

Change-Id: I9a4dae78f277d8de69a59dc67212a1184ff33e64
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/53660
Pigweed-Auto-Submit: Armando Montanez <amontanez@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
2021-07-22 17:33:55 +00:00
Armando Montanez
952f2d5865 pw_thread_embos: Add thread snapshot support
Adds Snapshot integration for embos thread state.

Change-Id: I68e546a775648523bf3fd75c999cb77b6a82b0fa
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/52040
Commit-Queue: Armando Montanez <amontanez@google.com>
Reviewed-by: Ewout van Bekkum <ewout@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-07-09 02:49:56 +00:00