commit | 3eb97d4c0673aa1cafcfa99f6de8d5c780a991dc | [log] [tgz] |
---|---|---|
author | Prashanth Swaminathan <prashanthsw@google.com> | Tue Jul 13 10:14:38 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 16 00:05:26 2021 +0000 |
tree | 07fff9918e66e1826214919d5c240552b76380d4 | |
parent | cf2ca74aaf752be7fa7e6ba52cf5aa93a605963f [diff] |
pw_ring_buffer: Permit pushing empty spans It should be possible to submit empty spans, for instance when supplying empty strings, e.g. PW_LOG_INFO(""). Remove the precondition and add tests to confirm that we can handle empty spans appropriately. No-Docs-Update-Reason: Updates are outlined in API headers. Change-Id: I19be79a8cd5500f646d0568b4083540539e01dab Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/52940 Commit-Queue: Prashanth Swaminathan <prashanthsw@google.com> Reviewed-by: Ewout van Bekkum <ewout@google.com>
See our website: http://pigweed.dev