mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-20 13:51:05 +00:00
21dcf27113
Tokenized trace, implements trace events by tokenizing all compile time information of the event into a 32bit number (using tokenizer module). This CL just adds the encoding of trace events and callback hooks, buffering which usies the callback will be added in a future CL. Test: passes included test Change-Id: Ibfcc34211c09965af8da030e28dba5e8f7c6ccdb Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/11428 Commit-Queue: Rob Oliver <rgoliver@google.com> Reviewed-by: (☞゚∀゚)☞ Tennessee Carmel-Veilleux <tennessee@google.com> Reviewed-by: Keir Mierle <keir@google.com>
29 lines
861 B
CMake
29 lines
861 B
CMake
# Copyright 2020 The Pigweed Authors
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
# use this file except in compliance with the License. You may obtain a copy of
|
|
# the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations under
|
|
# the License.
|
|
|
|
pw_auto_add_simple_module(pw_trace_tokenized
|
|
IMPLEMENTS_FACADE
|
|
pw_trace
|
|
PRIVATE_DEPS
|
|
pw_log
|
|
pw_ring_buffer
|
|
pw_assert
|
|
pw_status
|
|
pw_tokenizer
|
|
pw_trace:facade
|
|
pw_varint
|
|
)
|
|
|
|
target_include_directories(pw_trace_tokenized PUBLIC public_overrides)
|