1// Copyright 2024 gRPC authors. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// 16// Automatically generated by tools/codegen/core/gen_trace_flags.py 17// 18 19#ifndef GRPC_SRC_CORE_LIB_DEBUG_TRACE_FLAGS_H 20#define GRPC_SRC_CORE_LIB_DEBUG_TRACE_FLAGS_H 21 22#include "src/core/lib/debug/trace_impl.h" 23 24namespace grpc_core { 25 26% for flag, settings in trace_flags.items(): 27% if "debug_only" in settings and settings["debug_only"]: 28extern DebugOnlyTraceFlag ${flag}_trace; 29% endif 30% endfor 31% for flag, settings in trace_flags.items(): 32% if not "debug_only" in settings or not settings["debug_only"]: 33extern TraceFlag ${flag}_trace; 34% endif 35% endfor 36 37} // namespace grpc_core 38 39#endif // GRPC_SRC_CORE_LIB_DEBUG_TRACE_FLAGS_H 40