Lines Matching refs:topic
269 self.topic = ''
362 def read_json_events(path: str, topic: str) -> Sequence[JsonEvent]:
371 event.topic = topic
389 for event in read_json_events(item.path, topic=''):
396 def add_events_table_entries(item: os.DirEntry, topic: str) -> None:
398 for e in read_json_events(item.path, topic):
414 return (j.desc is not None, fix_none(j.topic), fix_none(j.name), fix_none(j.pmu),
470 def get_topic(topic: str) -> str:
471 if topic.endswith('metrics.json'):
473 return removesuffix(topic, '.json').replace('-', ' ')
490 topic = get_topic(item.name)
491 for event in read_json_events(item.path, topic):