21 os.chdir(os.path.join(os.path.dirname(sys.argv[0]),
'../../..'))
25 pattern = re.compile(
"GRPC_TRACER_INITIALIZER\((true|false), \"(.*)\"\)")
26 for root, dirs, files
in os.walk(
'src/core'):
27 for filename
in files:
28 path = os.path.join(root, filename)
29 if os.path.splitext(path)[1] !=
'.c':
33 for o
in pattern.findall(text):
36 with open(
'doc/environment_variables.md')
as f:
42 "ERROR: tracer \"%s\" is not mentioned in doc/environment_variables.md"