cur_title = m.group(1)
continue
- m = re.match(r'^\s+(babeltrace/.+\.h).*$', line)
+ m = re.match(r'^\s+(babeltrace2/.+\.h).*$', line)
if m:
- if m.group(1) != 'babeltrace/babeltrace.h':
+ if m.group(1) != 'babeltrace2/babeltrace.h':
cur_filenames.append(m.group(1))
continue
src = ''
for section in sections:
+ if 'ctf' in section.title.lower():
+ continue
+
src += '/* {} */\n'.format(section.title)
for filename in sorted(section.filenames):